Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn ino(&self) -> u64
Returns the underlying d_ino field in the contained dirent structure.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait DirEntryExt
Unix-specific extension methods for fs::DirEntry.
trait std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn mode(&mut self, mode: u32) -> &mut Self
Sets the mode to create new directories with. This option defaults to 0o777.
method std Stable since 1.6.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait DirBuilderExt
Unix-specific extensions to fs::DirBuilder.
trait std Stable since 1.6.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod fs
Unix-specific extensions to primitives in the std::fs module.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_vec(self) -> Vec<u8>
Yields the underlying byte vector of this OsString.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_vec(vec: Vec<u8>) -> Self
Creates an OsString from a byte vector.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStringExt
Platform-specific extensions to OsString.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_bytes(slice: &[u8]) -> &Self
Creates an OsStr from a byte slice.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn as_bytes(&self) -> &[u8]
Gets the underlying byte view of the OsStr slice.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStrExt
Platform-specific extensions to OsStr.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod ffi
Unix-specific extensions to primitives in the std::ffi module.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod unix
Platform-specific extensions to std for Unix platforms.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_void = core::ffi::c_void
Equivalent to C's void type when used as a pointer.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ushort = core::ffi::c_ushort
Equivalent to C's unsigned short type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ulonglong = core::ffi::c_ulonglong
Equivalent to C's unsigned long long type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ulong = core::ffi::c_ulong
Equivalent to C's unsigned long type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_uint = core::ffi::c_uint
Equivalent to C's unsigned int type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_uchar = core::ffi::c_uchar
Equivalent to C's unsigned char type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type c_short = core::ffi::c_short
Equivalent to C's signed short (short) type.
type_alias std Stable since 1.1.0 Version 1.100.0-nightly
"Rust beginners worrying about lifetimes is like kids worrying about quicksand. Both turn out to be a non-issue in life."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.