Struct ncursesw::normal::Attributes [−][src]
pub struct Attributes { /* fields omitted */ }
Expand description
Termianl Attributes.
Implementations
Safety
Set the screen pointer of the Attributes
.
Use with caution!!! This function only need’s to be used if using the screen type
functions and is provided to allow the alignment of the screen pointer with the
screen that the Attributes
are for as this crate will apply a screen of None
by default when retriving Attributes
from functions such as attr_get()
and
wattr_get()
.
Return the ColorPair
associated with the Attributes
.
Trait Implementations
Implement the | operator for adding an Attribute to Attributes
Implement the | operator for adding Attributes to Attributes
Implement the | operator for setting a ColorPair
on a Attributes
.
Note: as only one color pair can be applied to attributes at any one time any previously Or’d color_pair will be Xor’d out of the attributes before Or’ing the new color pair.
Implement the ^ operator for disabling an Attribute from Attributes
Implement the ^ operator for removing Attributes from Attributes
Implement the ^ operator for removing a ColorPair
on a Attributes
.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Attributes
impl !Send for Attributes
impl !Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
Blanket Implementations
Mutably borrows from an owned value. Read more