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