Struct Writebufsize
#[repr(transparent)]pub struct Writebufsize(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Writebufsize
impl Writebufsize
pub const UNBUFFERED: Writebufsize = _
pub const UNBUFFERED: Writebufsize = _
Disable buffering
§impl Writebufsize
impl Writebufsize
pub const fn from_bits(val: u8) -> Writebufsize
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Writebufsize
impl Clone for Writebufsize
§fn clone(&self) -> Writebufsize
fn clone(&self) -> Writebufsize
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<u8> for Writebufsize
impl From<u8> for Writebufsize
§fn from(val: u8) -> Writebufsize
fn from(val: u8) -> Writebufsize
Converts to this type from the input type.
§impl Ord for Writebufsize
impl Ord for Writebufsize
§impl PartialEq for Writebufsize
impl PartialEq for Writebufsize
§impl PartialOrd for Writebufsize
impl PartialOrd for Writebufsize
impl Copy for Writebufsize
impl Eq for Writebufsize
impl StructuralPartialEq for Writebufsize
Auto Trait Implementations§
impl Freeze for Writebufsize
impl RefUnwindSafe for Writebufsize
impl Send for Writebufsize
impl Sync for Writebufsize
impl Unpin for Writebufsize
impl UnwindSafe for Writebufsize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)