Struct termrect::style::StyleAttrs [−]
pub struct StyleAttrs(pub u16);
Trait Implementations
impl<T> BitRange<T> for StyleAttrs where
u16: BitRange<T>,
impl<T> BitRange<T> for StyleAttrs where
u16: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn bit_range(&self, msb: usize, lsb: usize) -> T
Get a range of bits.
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
impl Debug for StyleAttrs
impl Debug for StyleAttrs
impl Copy for StyleAttrs
[src]
impl Copy for StyleAttrs
impl Clone for StyleAttrs
[src]
impl Clone for StyleAttrs
fn clone(&self) -> StyleAttrs
[src]
fn clone(&self) -> StyleAttrs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for StyleAttrs
[src]
impl PartialEq for StyleAttrs
fn eq(&self, other: &StyleAttrs) -> bool
[src]
fn eq(&self, other: &StyleAttrs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StyleAttrs) -> bool
[src]
fn ne(&self, other: &StyleAttrs) -> bool
This method tests for !=
.
impl Eq for StyleAttrs
[src]
impl Eq for StyleAttrs
Auto Trait Implementations
impl Send for StyleAttrs
impl Send for StyleAttrs
impl Sync for StyleAttrs
impl Sync for StyleAttrs