Struct termios
#[repr(C)]
pub struct termios { 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; 32], 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; 32]c_ispeed: speed_tc_ospeed: speed_t
Trait Implementations
impl Clone for termios
fn clone(&self) -> termios
impl Copy for termios
impl Debug for termios
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for termios
impl Hash for termios
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for termios
fn eq(&self, other: &termios) -> bool
impl StructuralPartialEq for termios
Auto Trait Implementations
impl Freeze for termios
impl RefUnwindSafe for termios
impl Send for termios
impl Sync for termios
impl Unpin for termios
impl UnsafeUnpin for termios
impl UnwindSafe for termios
Blanket Implementations
impl<T> Any for termios
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for termios
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for termios
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for termios
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for termios
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for termios
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 termios
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for termios
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>