pub struct InputFlags(pub IoFlags);Expand description
A wrapper indicating IoFlags that should be interpreted as Input flags.
Tuple Fields§
§0: IoFlagsImplementations§
Source§impl InputFlags
impl InputFlags
Sourcepub fn from_unchecked(flags: IoFlags) -> Self
pub fn from_unchecked(flags: IoFlags) -> Self
Mark some flags as input flags, without checking if the bit pattern is sensible for an Input item.
Trait Implementations§
Source§impl Clone for InputFlags
impl Clone for InputFlags
impl Copy for InputFlags
Source§impl Debug for InputFlags
impl Debug for InputFlags
Source§impl PartialEq for InputFlags
impl PartialEq for InputFlags
impl StructuralPartialEq for InputFlags
Auto Trait Implementations§
impl Freeze for InputFlags
impl RefUnwindSafe for InputFlags
impl Send for InputFlags
impl Sync for InputFlags
impl Unpin for InputFlags
impl UnsafeUnpin for InputFlags
impl UnwindSafe for InputFlags
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