Struct terminfo::capability::BrightAttribute
source · pub struct BrightAttribute(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
source§impl<'a> Capability<'a> for BrightAttribute
impl<'a> Capability<'a> for BrightAttribute
source§impl Clone for BrightAttribute
impl Clone for BrightAttribute
source§fn clone(&self) -> BrightAttribute
fn clone(&self) -> BrightAttribute
Returns a copy 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 moresource§impl Debug for BrightAttribute
impl Debug for BrightAttribute
source§impl From<BrightAttribute> for bool
impl From<BrightAttribute> for bool
source§fn from(cap: BrightAttribute) -> Self
fn from(cap: BrightAttribute) -> Self
Converts to this type from the input type.
source§impl PartialEq for BrightAttribute
impl PartialEq for BrightAttribute
source§fn eq(&self, other: &BrightAttribute) -> bool
fn eq(&self, other: &BrightAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BrightAttribute
impl Eq for BrightAttribute
impl StructuralPartialEq for BrightAttribute
Auto Trait Implementations§
impl Freeze for BrightAttribute
impl RefUnwindSafe for BrightAttribute
impl Send for BrightAttribute
impl Sync for BrightAttribute
impl Unpin for BrightAttribute
impl UnwindSafe for BrightAttribute
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