doc.rust-lang.org
pub enum ErrorKind
A list specifying general categories of I/O error.
enum
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Error
The error type for I/O operations of the Read, Write, Seek, and associated traits.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Cursor<T>
A Cursor wraps an in-memory buffer and provides it with a Seek implementation.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn write_bytes<T>(dst: *mut T, val: u8, count: usize)
This is an accidentally-stable alias to ptr::write_bytes; use that instead.
function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn transmute<Src, Dst>(src: Src) -> Dst
Reinterprets the bits of a value of one type as another type.
function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize)
This is an accidentally-stable alias to ptr::copy_nonoverlapping; use that instead.
function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize)
This is an accidentally-stable alias to ptr::copy; use that instead.
function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro include_str!
Includes a UTF-8 encoded file as a string.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro include_bytes!
Includes a file as a reference to a byte array.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro include!
Parses a file as an expression or an item according to the context.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_sub_unsigned(self, rhs: u8) -> Self
Wrapping (modular) subtraction with an unsigned integer. Computes self - rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.66.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_sub(self, rhs: Self) -> Self
Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_shr(self, rhs: u32) -> Self
Panic-free bitwise shift-right; yields self >> mask(rhs), where mask removes any high-order bits of rhs that would cause the shift to exceed the bitwidth of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_shl(self, rhs: u32) -> Self
Panic-free bitwise shift-left; yields self << mask(rhs), where mask removes any high-order bits of rhs that would cause the shift to exceed the bitwidth of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_rem_euclid(self, rhs: Self) -> Self
Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping around at the boundary of the type.
method
core
Stable since 1.38.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_rem(self, rhs: Self) -> Self
Wrapping (modular) remainder. Computes self % rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_pow(self, exp: u32) -> Self
Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping around at the boundary of the type.
method
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_neg(self) -> Self
Wrapping (modular) negation. Computes -self, wrapping around at the boundary of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_mul(self, rhs: Self) -> Self
Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_div_euclid(self, rhs: Self) -> Self
Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping around at the boundary of the type.
method
core
Stable since 1.38.0
Version 1.100.0-nightly