NcStyle

Struct NcStyle 

Source
#[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

§Flags

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

§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

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) -> Self::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) -> Self::Output

Performs the & operation. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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> 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_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> 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) -> Self::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) -> Self::Output

Performs the | operation. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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> 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_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> 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) -> Self::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) -> Self::Output

Performs the ^ operation. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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> 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_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<'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

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 From<&NcStyle> for *const NcStyle_u16

Source§

fn from(s: &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 From<&mut NcStyle> for *mut NcStyle_u16

Source§

fn from(s: &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 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. Read more
Source§

impl<'a> Not for &'a NcStyle

Source§

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

Source§

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

Source§

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. 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) -> Self::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) -> Self::Output

Performs the << operation. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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> 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_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> 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) -> Self::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) -> Self::Output

Performs the >> operation. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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> 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_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<'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

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.