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