Struct kconfig_represent::Tristate
source · [−]pub struct Tristate(_);Expand description
A tristate type is basically a bool wrapped in an option, where None represents ‘m’, or the ‘maybe’ state.
Implementations
Trait Implementations
impl Copy for Tristate
impl Eq for Tristate
impl StructuralEq for Tristate
impl StructuralPartialEq for Tristate
Auto Trait Implementations
impl RefUnwindSafe for Tristate
impl Send for Tristate
impl Sync for Tristate
impl Unpin for Tristate
impl UnwindSafe for Tristate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more