Struct notcurses::Style

source ·
pub struct Style(_);
Expand description

A bitmask of styles.

Implementations§

source§

impl Style

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

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

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.
source§

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

§

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 Style

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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 Style

§

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

§

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

§

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

§

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

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

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

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

§

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 Style

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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 Style

§

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

§

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

§

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

§

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

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

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

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

§

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 Style

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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 Style

§

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

§

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

§

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

§

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

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

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

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 Clone for Style

source§

fn clone(&self) -> Style

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 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.
source§

impl<'a> Not for &'a Style

§

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

§

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

§

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.
source§

impl PartialEq<Style> for Style

source§

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

§

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 Style

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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 Style

§

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

§

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

§

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

§

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

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

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

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

§

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 Style

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NcStyle_u16

§

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 Style

§

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

§

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

§

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 Style

§

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

§

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

§

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

§

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

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

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

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 UpperHex for Style

source§

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

Formats the value using the given formatter.
source§

impl Copy for Style

source§

impl Eq for Style

source§

impl StructuralEq for Style

source§

impl StructuralPartialEq for Style

Auto Trait Implementations§

§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dstwhere T: Cast<Dst>,

Casts the value.
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<Src, Dst> CastFrom<Src> for Dstwhere Src: Cast<Dst>,

source§

fn cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> CheckedAs for T

source§

fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,

source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
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> OverflowingAs for T

source§

fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,

source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
source§

impl<T> SaturatingAs for T

source§

fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,

source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
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.
source§

impl<T> UnwrappedAs for T

source§

fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,

source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> WrappingAs for T

source§

fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,

source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.