#[repr(C)]pub enum OutputModes {
OPOST = 1,
OLCUC = 2,
ONLCR = 4,
OCRNL = 8,
ONOCR = 16,
ONLRET = 32,
OFILL = 64,
OFDEL = 128,
VT0 = 0,
VT1 = 16_384,
}Expand description
All the const * are default values
of c_oflag.
Variants§
OPOST = 1
OLCUC = 2
ONLCR = 4
OCRNL = 8
ONOCR = 16
ONLRET = 32
OFILL = 64
OFDEL = 128
VT0 = 0
VT1 = 16_384
Trait Implementations§
Source§impl Clone for OutputModes
impl Clone for OutputModes
Source§fn clone(&self) -> OutputModes
fn clone(&self) -> OutputModes
Returns a duplicate 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 moreimpl Copy for OutputModes
Auto Trait Implementations§
impl Freeze for OutputModes
impl RefUnwindSafe for OutputModes
impl Send for OutputModes
impl Sync for OutputModes
impl Unpin for OutputModes
impl UnwindSafe for OutputModes
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