Struct termios2
#[repr(C)]
pub struct termios2 { pub c_iflag: tcflag_t, pub c_oflag: tcflag_t, pub c_cflag: tcflag_t, pub c_lflag: tcflag_t, pub c_line: cc_t, pub c_cc: [cc_t; 19], pub c_ispeed: speed_t, pub c_ospeed: speed_t }
Fields
c_iflag: tcflag_tc_oflag: tcflag_tc_cflag: tcflag_tc_lflag: tcflag_tc_line: cc_tc_cc: [cc_t; 19]c_ispeed: speed_tc_ospeed: speed_t
Trait Implementations
impl Clone for termios2
fn clone(&self) -> termios2
impl Copy for termios2
impl Debug for termios2
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for termios2
impl Hash for termios2
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for termios2
fn eq(&self, other: &termios2) -> bool
impl StructuralPartialEq for termios2
Auto Trait Implementations
impl Freeze for termios2
impl RefUnwindSafe for termios2
impl Send for termios2
impl Sync for termios2
impl Unpin for termios2
impl UnsafeUnpin for termios2
impl UnwindSafe for termios2
Blanket Implementations
impl<T> Any for termios2
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for termios2
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for termios2
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for termios2
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for termios2
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for termios2
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for termios2
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for termios2
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>