Style

Struct Style 

Source
pub struct Style(/* private fields */);
Expand description

A bitmask of styles.

Implementations§

Source§

impl Style

§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 Style

§methods

Source

pub fn from_names(names: &str) -> Style

Returns a style from a case-insensitive string representation.

The received styles must be separated by spaces.

Source§

impl Style

§methods

Source

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

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

Source

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

Returns true if the current style has included the other_style.

Source

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

Sets the other style in the current style.

Source

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

Unsets the other style in the current style.

Trait Implementations§

Source§

impl Binary for Style

Source§

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

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

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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<Style> for &'a Style

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b Style> for NcStyle_u16

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign<&'b mut Style> for NcStyle_u16

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

fn bitand_assign(&mut self, rhs: Style)

Performs the &= operation. Read more
Source§

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

Source§

fn bitand_assign(&mut self, rhs: Style)

Performs the &= operation. Read more
Source§

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

Source§

fn bitand_assign(&mut self, rhs: NcStyle_u16)

Performs the &= operation. Read more
Source§

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

Source§

fn bitand_assign(&mut self, rhs: NcStyle_u16)

Performs the &= operation. Read more
Source§

impl<'a, 'b> BitAndAssign for Style

Source§

fn bitand_assign(&mut self, rhs: Style)

Performs the &= operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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<Style> for &'a Style

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b Style> for NcStyle_u16

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign<&'b mut Style> for NcStyle_u16

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

fn bitor_assign(&mut self, rhs: Style)

Performs the |= operation. Read more
Source§

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

Source§

fn bitor_assign(&mut self, rhs: Style)

Performs the |= operation. Read more
Source§

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

Source§

fn bitor_assign(&mut self, rhs: NcStyle_u16)

Performs the |= operation. Read more
Source§

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

Source§

fn bitor_assign(&mut self, rhs: NcStyle_u16)

Performs the |= operation. Read more
Source§

impl<'a, 'b> BitOrAssign for Style

Source§

fn bitor_assign(&mut self, rhs: Style)

Performs the |= operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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<Style> for &'a Style

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b Style> for NcStyle_u16

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign<&'b mut Style> for NcStyle_u16

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

fn bitxor_assign(&mut self, rhs: Style)

Performs the ^= operation. Read more
Source§

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

Source§

fn bitxor_assign(&mut self, rhs: Style)

Performs the ^= operation. Read more
Source§

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

Source§

fn bitxor_assign(&mut self, rhs: NcStyle_u16)

Performs the ^= operation. Read more
Source§

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

Source§

fn bitxor_assign(&mut self, rhs: NcStyle_u16)

Performs the ^= operation. Read more
Source§

impl<'a, 'b> BitXorAssign for Style

Source§

fn bitxor_assign(&mut self, rhs: Style)

Performs the ^= operation. Read more
Source§

impl Clone for Style

Source§

fn clone(&self) -> Style

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 Style

Source§

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

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

impl Default for Style

Source§

fn default() -> Self

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

impl Display for Style

Source§

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

Formats the value using the given formatter. Read more
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<Style> for NcStyle_u16

Source§

fn from(pi: Style) -> NcStyle_u16

Converts to this type from the input type.
Source§

impl From<u16> for Style

Source§

fn from(nci: NcStyle_u16) -> Style

Converts to this type from the input type.
Source§

impl LowerHex for Style

Source§

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

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

impl<'a> Not for &'a Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl<'a> Not for Style

Source§

type Output = Style

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Octal for Style

Source§

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

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

impl PartialEq for Style

Source§

fn eq(&self, other: &Style) -> 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 Style> for &'a Style

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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<Style> for &'a Style

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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

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

Performs the << operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b Style> for NcStyle_u16

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign<&'b mut Style> for NcStyle_u16

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

fn shl_assign(&mut self, rhs: Style)

Performs the <<= operation. Read more
Source§

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

Source§

fn shl_assign(&mut self, rhs: Style)

Performs the <<= operation. Read more
Source§

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

Source§

fn shl_assign(&mut self, rhs: NcStyle_u16)

Performs the <<= operation. Read more
Source§

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

Source§

fn shl_assign(&mut self, rhs: NcStyle_u16)

Performs the <<= operation. Read more
Source§

impl<'a, 'b> ShlAssign for Style

Source§

fn shl_assign(&mut self, rhs: Style)

Performs the <<= operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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<Style> for &'a Style

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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 Style

Source§

type Output = Style

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

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

Performs the >> operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b Style> for NcStyle_u16

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign<&'b mut Style> for NcStyle_u16

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

fn shr_assign(&mut self, rhs: Style)

Performs the >>= operation. Read more
Source§

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

Source§

fn shr_assign(&mut self, rhs: Style)

Performs the >>= operation. Read more
Source§

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

Source§

fn shr_assign(&mut self, rhs: NcStyle_u16)

Performs the >>= operation. Read more
Source§

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

Source§

fn shr_assign(&mut self, rhs: NcStyle_u16)

Performs the >>= operation. Read more
Source§

impl<'a, 'b> ShrAssign for Style

Source§

fn shr_assign(&mut self, rhs: Style)

Performs the >>= operation. Read more
Source§

impl UpperHex for Style

Source§

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

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

impl Copy for Style

Source§

impl Eq for Style

Source§

impl StructuralPartialEq for Style

Auto Trait Implementations§

§

impl Freeze for Style

§

impl RefUnwindSafe for Style

§

impl Send for Style

§

impl Sync for Style

§

impl Unpin for Style

§

impl UnwindSafe for Style

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.