NcStyle

Struct NcStyle 

Source
#[repr(transparent)]
pub struct NcStyle(pub u16);
Expand description

A bitmask of styles.

§Flags

§Default

*NcStyle::None

§Notes

Tuple Fields§

§0: u16

Implementations§

Source§

impl NcStyle

§Flags

Source

pub const Bold: NcStyle

Bold.

Source

pub const Italic: NcStyle

Italic.

Source

pub const Struck: NcStyle

Struck.

Source

pub const Underline: NcStyle

Underline.

Source

pub const Undercurl: NcStyle

Undercurl.

Source

pub const None: NcStyle

None of the styles (all bits set to 0).

Source

pub const Mask: NcStyle

The mask of all styles (all bits set to 1).

Source§

impl NcStyle

§Methods

Source

pub fn to_vec(&self) -> Vec<NcStyle>

Returns a Vec with all the styles contained in the current style.

Source

pub fn has(&self, other: impl Into<NcStyle>) -> bool

Returns true if the current style has included the other_style.

Source

pub fn set(&mut self, other: impl Into<NcStyle>)

Sets the other style in the current style.

Source

pub fn unset(&mut self, other: impl Into<NcStyle>)

Unsets the other style in the current style.

Trait Implementations§

Source§

impl Binary for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a, 'b> BitAnd<&'b NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: &'b NcStyle, ) -> <&'a NcStyle as BitAnd<&'b NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: &'b NcStyle, ) -> <&'a mut NcStyle as BitAnd<&'b NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b NcStyle) -> <NcStyle as BitAnd<&'b NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b mut NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: &'b mut NcStyle, ) -> <&'a NcStyle as BitAnd<&'b mut NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b mut NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: &'b mut NcStyle, ) -> <&'a mut NcStyle as BitAnd<&'b mut NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b mut NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: &'b mut NcStyle, ) -> <NcStyle as BitAnd<&'b mut NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b u16) -> <&'a NcStyle as BitAnd<&'b u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b u16) -> <&'a mut NcStyle as BitAnd<&'b u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<&'b u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b u16) -> <NcStyle as BitAnd<&'b u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: NcStyle) -> <&'a NcStyle as BitAnd<NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: NcStyle) -> <&'a mut NcStyle as BitAnd<NcStyle>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> <&'a NcStyle as BitAnd<u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> <&'a mut NcStyle as BitAnd<u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd<u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> <NcStyle as BitAnd<u16>>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAnd for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: NcStyle) -> <NcStyle as BitAnd>::Output

Performs the & operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b NcStyle> for &'a mut NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b NcStyle> for NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for &'a mut NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b mut NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b mut NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b u16> for &'a mut NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b u16)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b u16> for NcStyle

Source§

fn bitand_assign(&mut self, rhs: &'b u16)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<NcStyle> for &'a mut NcStyle

Source§

fn bitand_assign(&mut self, rhs: NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<u16> for &'a mut NcStyle

Source§

fn bitand_assign(&mut self, rhs: u16)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<u16> for NcStyle

Source§

fn bitand_assign(&mut self, rhs: u16)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign for NcStyle

Source§

fn bitand_assign(&mut self, rhs: NcStyle)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitOr<&'b NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b NcStyle) -> <&'a NcStyle as BitOr<&'b NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor( self, rhs: &'b NcStyle, ) -> <&'a mut NcStyle as BitOr<&'b NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b NcStyle) -> <NcStyle as BitOr<&'b NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b mut NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor( self, rhs: &'b mut NcStyle, ) -> <&'a NcStyle as BitOr<&'b mut NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b mut NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor( self, rhs: &'b mut NcStyle, ) -> <&'a mut NcStyle as BitOr<&'b mut NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b mut NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor( self, rhs: &'b mut NcStyle, ) -> <NcStyle as BitOr<&'b mut NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b u16) -> <&'a NcStyle as BitOr<&'b u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b u16) -> <&'a mut NcStyle as BitOr<&'b u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<&'b u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b u16) -> <NcStyle as BitOr<&'b u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: NcStyle) -> <&'a NcStyle as BitOr<NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: NcStyle) -> <&'a mut NcStyle as BitOr<NcStyle>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> <&'a NcStyle as BitOr<u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> <&'a mut NcStyle as BitOr<u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr<u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> <NcStyle as BitOr<u16>>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOr for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: NcStyle) -> <NcStyle as BitOr>::Output

Performs the | operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b NcStyle> for &'a mut NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b NcStyle> for NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for &'a mut NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b mut NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b mut NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b u16> for &'a mut NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b u16)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b u16> for NcStyle

Source§

fn bitor_assign(&mut self, rhs: &'b u16)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<NcStyle> for &'a mut NcStyle

Source§

fn bitor_assign(&mut self, rhs: NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<u16> for &'a mut NcStyle

Source§

fn bitor_assign(&mut self, rhs: u16)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<u16> for NcStyle

Source§

fn bitor_assign(&mut self, rhs: u16)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign for NcStyle

Source§

fn bitor_assign(&mut self, rhs: NcStyle)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitXor<&'b NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: &'b NcStyle, ) -> <&'a NcStyle as BitXor<&'b NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: &'b NcStyle, ) -> <&'a mut NcStyle as BitXor<&'b NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b NcStyle) -> <NcStyle as BitXor<&'b NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b mut NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: &'b mut NcStyle, ) -> <&'a NcStyle as BitXor<&'b mut NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b mut NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: &'b mut NcStyle, ) -> <&'a mut NcStyle as BitXor<&'b mut NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b mut NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: &'b mut NcStyle, ) -> <NcStyle as BitXor<&'b mut NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b u16) -> <&'a NcStyle as BitXor<&'b u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b u16) -> <&'a mut NcStyle as BitXor<&'b u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<&'b u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b u16) -> <NcStyle as BitXor<&'b u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: NcStyle) -> <&'a NcStyle as BitXor<NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: NcStyle) -> <&'a mut NcStyle as BitXor<NcStyle>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> <&'a NcStyle as BitXor<u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> <&'a mut NcStyle as BitXor<u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor<u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> <NcStyle as BitXor<u16>>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXor for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: NcStyle) -> <NcStyle as BitXor>::Output

Performs the ^ operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b NcStyle> for &'a mut NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b NcStyle)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b NcStyle> for NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b NcStyle)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for &'a mut NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b u16> for &'a mut NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b u16)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b u16> for NcStyle

Source§

fn bitxor_assign(&mut self, rhs: &'b u16)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<NcStyle> for &'a mut NcStyle

Source§

fn bitxor_assign(&mut self, rhs: NcStyle)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<u16> for &'a mut NcStyle

Source§

fn bitxor_assign(&mut self, rhs: u16)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<u16> for NcStyle

Source§

fn bitxor_assign(&mut self, rhs: u16)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign for NcStyle

Source§

fn bitxor_assign(&mut self, rhs: NcStyle)

Performs the ^= operation. Read more
Source§

impl Clone for NcStyle

Source§

fn clone(&self) -> NcStyle

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for NcStyle

Source§

fn default() -> NcStyle

Returns the “default value” for a type. Read more
Source§

impl Display for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> From<&'a mut u16> for NcStyle

Source§

fn from(p: &'a mut u16) -> NcStyle

Converts to this type from the input type.
Source§

impl<'a> From<&'a u16> for NcStyle

Source§

fn from(p: &'a u16) -> NcStyle

Converts to this type from the input type.
Source§

impl From<NcStyle> for Style

Source§

fn from(nc: NcStyle) -> Style

Converts to this type from the input type.
Source§

impl From<Style> for NcStyle

Source§

fn from(style: Style) -> NcStyle

Converts to this type from the input type.
Source§

impl From<u16> for NcStyle

Source§

fn from(p: u16) -> NcStyle

Converts to this type from the input type.
Source§

impl LowerHex for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Not for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ! operator.
Source§

fn not(self) -> <&'a NcStyle as Not>::Output

Performs the unary ! operation. Read more
Source§

impl<'a> Not for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ! operator.
Source§

fn not(self) -> <&'a mut NcStyle as Not>::Output

Performs the unary ! operation. Read more
Source§

impl<'a> Not for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the ! operator.
Source§

fn not(self) -> <NcStyle as Not>::Output

Performs the unary ! operation. Read more
Source§

impl Octal for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for NcStyle

Source§

fn eq(&self, other: &NcStyle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a, 'b> Shl<&'b NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b NcStyle) -> <&'a NcStyle as Shl<&'b NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b NcStyle) -> <&'a mut NcStyle as Shl<&'b NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b NcStyle) -> <NcStyle as Shl<&'b NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b mut NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl( self, rhs: &'b mut NcStyle, ) -> <&'a NcStyle as Shl<&'b mut NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b mut NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl( self, rhs: &'b mut NcStyle, ) -> <&'a mut NcStyle as Shl<&'b mut NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b mut NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b mut NcStyle) -> <NcStyle as Shl<&'b mut NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b u16) -> <&'a NcStyle as Shl<&'b u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b u16) -> <&'a mut NcStyle as Shl<&'b u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<&'b u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: &'b u16) -> <NcStyle as Shl<&'b u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: NcStyle) -> <&'a NcStyle as Shl<NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: NcStyle) -> <&'a mut NcStyle as Shl<NcStyle>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: u16) -> <&'a NcStyle as Shl<u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: u16) -> <&'a mut NcStyle as Shl<u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl<u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: u16) -> <NcStyle as Shl<u16>>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> Shl for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: NcStyle) -> <NcStyle as Shl>::Output

Performs the << operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b NcStyle> for &'a mut NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b NcStyle> for NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b mut NcStyle> for &'a mut NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b mut NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b mut NcStyle> for NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b mut NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b u16> for &'a mut NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b u16)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b u16> for NcStyle

Source§

fn shl_assign(&mut self, rhs: &'b u16)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<NcStyle> for &'a mut NcStyle

Source§

fn shl_assign(&mut self, rhs: NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<u16> for &'a mut NcStyle

Source§

fn shl_assign(&mut self, rhs: u16)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<u16> for NcStyle

Source§

fn shl_assign(&mut self, rhs: u16)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign for NcStyle

Source§

fn shl_assign(&mut self, rhs: NcStyle)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> Shr<&'b NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b NcStyle) -> <&'a NcStyle as Shr<&'b NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b NcStyle) -> <&'a mut NcStyle as Shr<&'b NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b NcStyle) -> <NcStyle as Shr<&'b NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b mut NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr( self, rhs: &'b mut NcStyle, ) -> <&'a NcStyle as Shr<&'b mut NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b mut NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr( self, rhs: &'b mut NcStyle, ) -> <&'a mut NcStyle as Shr<&'b mut NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b mut NcStyle> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b mut NcStyle) -> <NcStyle as Shr<&'b mut NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b u16) -> <&'a NcStyle as Shr<&'b u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b u16) -> <&'a mut NcStyle as Shr<&'b u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<&'b u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: &'b u16) -> <NcStyle as Shr<&'b u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<NcStyle> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: NcStyle) -> <&'a NcStyle as Shr<NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<NcStyle> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: NcStyle) -> <&'a mut NcStyle as Shr<NcStyle>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<u16> for &'a NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: u16) -> <&'a NcStyle as Shr<u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<u16> for &'a mut NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: u16) -> <&'a mut NcStyle as Shr<u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr<u16> for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: u16) -> <NcStyle as Shr<u16>>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> Shr for NcStyle

Source§

type Output = NcStyle

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: NcStyle) -> <NcStyle as Shr>::Output

Performs the >> operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b NcStyle> for &'a mut NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b NcStyle)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b NcStyle> for NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b NcStyle)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b mut NcStyle> for &'a mut NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b mut NcStyle)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b mut NcStyle> for NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b mut NcStyle)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b u16> for &'a mut NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b u16)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b u16> for NcStyle

Source§

fn shr_assign(&mut self, rhs: &'b u16)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<NcStyle> for &'a mut NcStyle

Source§

fn shr_assign(&mut self, rhs: NcStyle)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<u16> for &'a mut NcStyle

Source§

fn shr_assign(&mut self, rhs: u16)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<u16> for NcStyle

Source§

fn shr_assign(&mut self, rhs: u16)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign for NcStyle

Source§

fn shr_assign(&mut self, rhs: NcStyle)

Performs the >>= operation. Read more
Source§

impl UpperHex for NcStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for NcStyle

Source§

impl Eq for NcStyle

Source§

impl StructuralPartialEq for NcStyle

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.