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

A bitmask of styles.

Flags

Default

*NcStyle::None

Notes

Tuple Fields§

§0: NcStyle_u16

Implementations§

source§

impl NcStyle

source

pub const Bold: Self = _

Bold.

source

pub const Italic: Self = _

Italic.

source

pub const Struck: Self = _

Struck.

source

pub const Underline: Self = _

Underline.

source

pub const Undercurl: Self = _

Undercurl.

source

pub const None: Self = _

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

source

pub const Mask: Self = _

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

source§

impl NcStyle

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

Formats the value using the given formatter.
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle_u16) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle_u16) -> Self::Output

Performs the & operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: NcStyle_u16) -> Self::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 NcStyle> for NcStyle_u16

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 mut NcStyle> for NcStyle_u16

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 NcStyle_u16)

Performs the &= operation. Read more
source§

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

source§

fn bitand_assign(&mut self, rhs: &'b NcStyle_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<NcStyle> for NcStyle

source§

fn bitand_assign(&mut self, rhs: NcStyle)

Performs the &= operation. Read more
source§

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

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: NcStyle_u16)

Performs the &= operation. Read more
source§

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

source§

fn bitand_assign(&mut self, rhs: NcStyle_u16)

Performs the &= operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle_u16) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle_u16) -> Self::Output

Performs the | operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NcStyle_u16) -> Self::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 NcStyle> for NcStyle_u16

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 mut NcStyle> for NcStyle_u16

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 NcStyle_u16)

Performs the |= operation. Read more
source§

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

source§

fn bitor_assign(&mut self, rhs: &'b NcStyle_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<NcStyle> for NcStyle

source§

fn bitor_assign(&mut self, rhs: NcStyle)

Performs the |= operation. Read more
source§

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

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: NcStyle_u16)

Performs the |= operation. Read more
source§

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

source§

fn bitor_assign(&mut self, rhs: NcStyle_u16)

Performs the |= operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle_u16) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle_u16) -> Self::Output

Performs the ^ operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: NcStyle_u16) -> Self::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 NcStyle> for NcStyle_u16

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 mut NcStyle> for NcStyle_u16

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 NcStyle_u16)

Performs the ^= operation. Read more
source§

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

source§

fn bitxor_assign(&mut self, rhs: &'b NcStyle_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<NcStyle> for NcStyle

source§

fn bitxor_assign(&mut self, rhs: NcStyle)

Performs the ^= operation. Read more
source§

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

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: NcStyle_u16)

Performs the ^= operation. Read more
source§

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

source§

fn bitxor_assign(&mut self, rhs: NcStyle_u16)

Performs the ^= operation. Read more
source§

impl Clone for NcStyle

source§

fn clone(&self) -> NcStyle

Returns a copy 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

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

impl Default for NcStyle

source§

fn default() -> Self

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

impl Display for NcStyle

source§

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

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

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

source§

fn from(s: &'a NcStyle) -> Self

Converts to this type from the input type.
source§

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

source§

fn from(s: &'a mut NcStyle) -> Self

Converts to this type from the input type.
source§

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

source§

fn from(p: &'a mut NcStyle_u16) -> Self

Converts to this type from the input type.
source§

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

source§

fn from(p: &'a NcStyle_u16) -> Self

Converts to this type from the input type.
source§

impl From<&NcStyle> for *const NcStyle_u16

source§

fn from(s: &NcStyle) -> Self

Converts to this type from the input type.
source§

impl From<&mut NcStyle> for *mut NcStyle_u16

source§

fn from(s: &mut NcStyle) -> Self

Converts to this type from the input type.
source§

impl From<NcStyle> for NcStyle_u16

source§

fn from(s: NcStyle) -> Self

Converts to this type from the input type.
source§

impl From<NcStyle> for u32

source§

fn from(style: NcStyle) -> Self

Converts to this type from the input type.
source§

impl From<u16> for NcStyle

source§

fn from(p: NcStyle_u16) -> Self

Converts to this type from the input type.
source§

impl LowerHex for NcStyle

source§

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

Formats the value using the given formatter.
source§

impl<'a> Not for &'a NcStyle

§

type Output = NcStyle

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

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

§

type Output = NcStyle

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl<'a> Not for NcStyle

§

type Output = NcStyle

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Octal for NcStyle

source§

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

Formats the value using the given formatter.
source§

impl PartialEq<NcStyle> for NcStyle

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle_u16) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle_u16) -> Self::Output

Performs the << operation. Read more
source§

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

§

type Output = NcStyle

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

fn shl(self, rhs: NcStyle_u16) -> Self::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 NcStyle> for NcStyle_u16

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 mut NcStyle> for NcStyle_u16

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 NcStyle_u16)

Performs the <<= operation. Read more
source§

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

source§

fn shl_assign(&mut self, rhs: &'b NcStyle_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<NcStyle> for NcStyle

source§

fn shl_assign(&mut self, rhs: NcStyle)

Performs the <<= operation. Read more
source§

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

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: NcStyle_u16)

Performs the <<= operation. Read more
source§

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

source§

fn shl_assign(&mut self, rhs: NcStyle_u16)

Performs the <<= operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

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

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: &'b NcStyle_u16) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle_u16) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle_u16) -> Self::Output

Performs the >> operation. Read more
source§

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

§

type Output = NcStyle

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

fn shr(self, rhs: NcStyle_u16) -> Self::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 NcStyle> for NcStyle_u16

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 mut NcStyle> for NcStyle_u16

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 NcStyle_u16)

Performs the >>= operation. Read more
source§

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

source§

fn shr_assign(&mut self, rhs: &'b NcStyle_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<NcStyle> for NcStyle

source§

fn shr_assign(&mut self, rhs: NcStyle)

Performs the >>= operation. Read more
source§

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

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: NcStyle_u16)

Performs the >>= operation. Read more
source§

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

source§

fn shr_assign(&mut self, rhs: NcStyle_u16)

Performs the >>= operation. Read more
source§

impl UpperHex for NcStyle

source§

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

Formats the value using the given formatter.
source§

impl Copy for NcStyle

source§

impl Eq for NcStyle

source§

impl StructuralEq for NcStyle

source§

impl StructuralPartialEq for NcStyle

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere T: Clone,

§

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 Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

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

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.