#[repr(transparent)]pub struct NcStyle(pub u16);Expand description
A bitmask of styles.
§Flags
§Default
§Notes
- if you want reverse video, try
NcChannels.reverse - if you want blink, try
NcPlane.pulse. - if you want protection, put things on a different
NcPlane.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl<'a, 'b> BitAndAssign<&'b NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitAndAssign<&'b NcStyle> for &'a mut NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b NcStyle)
fn bitand_assign(&mut self, rhs: &'b NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<&'b NcStyle> for NcStyle
impl<'a, 'b> BitAndAssign<&'b NcStyle> for NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b NcStyle)
fn bitand_assign(&mut self, rhs: &'b NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for &'a mut NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b mut NcStyle)
fn bitand_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for NcStyle
impl<'a, 'b> BitAndAssign<&'b mut NcStyle> for NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b mut NcStyle)
fn bitand_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<&'b u16> for &'a mut NcStyle
impl<'a, 'b> BitAndAssign<&'b u16> for &'a mut NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b u16)
fn bitand_assign(&mut self, rhs: &'b u16)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<&'b u16> for NcStyle
impl<'a, 'b> BitAndAssign<&'b u16> for NcStyle
Source§fn bitand_assign(&mut self, rhs: &'b u16)
fn bitand_assign(&mut self, rhs: &'b u16)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitAndAssign<NcStyle> for &'a mut NcStyle
Source§fn bitand_assign(&mut self, rhs: NcStyle)
fn bitand_assign(&mut self, rhs: NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<u16> for &'a mut NcStyle
impl<'a, 'b> BitAndAssign<u16> for &'a mut NcStyle
Source§fn bitand_assign(&mut self, rhs: u16)
fn bitand_assign(&mut self, rhs: u16)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign<u16> for NcStyle
impl<'a, 'b> BitAndAssign<u16> for NcStyle
Source§fn bitand_assign(&mut self, rhs: u16)
fn bitand_assign(&mut self, rhs: u16)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitAndAssign for NcStyle
impl<'a, 'b> BitAndAssign for NcStyle
Source§fn bitand_assign(&mut self, rhs: NcStyle)
fn bitand_assign(&mut self, rhs: NcStyle)
Performs the
&= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitOrAssign<&'b NcStyle> for &'a mut NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b NcStyle)
fn bitor_assign(&mut self, rhs: &'b NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b NcStyle> for NcStyle
impl<'a, 'b> BitOrAssign<&'b NcStyle> for NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b NcStyle)
fn bitor_assign(&mut self, rhs: &'b NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for &'a mut NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b mut NcStyle)
fn bitor_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for NcStyle
impl<'a, 'b> BitOrAssign<&'b mut NcStyle> for NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b mut NcStyle)
fn bitor_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b u16> for &'a mut NcStyle
impl<'a, 'b> BitOrAssign<&'b u16> for &'a mut NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b u16)
fn bitor_assign(&mut self, rhs: &'b u16)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<&'b u16> for NcStyle
impl<'a, 'b> BitOrAssign<&'b u16> for NcStyle
Source§fn bitor_assign(&mut self, rhs: &'b u16)
fn bitor_assign(&mut self, rhs: &'b u16)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitOrAssign<NcStyle> for &'a mut NcStyle
Source§fn bitor_assign(&mut self, rhs: NcStyle)
fn bitor_assign(&mut self, rhs: NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<u16> for &'a mut NcStyle
impl<'a, 'b> BitOrAssign<u16> for &'a mut NcStyle
Source§fn bitor_assign(&mut self, rhs: u16)
fn bitor_assign(&mut self, rhs: u16)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign<u16> for NcStyle
impl<'a, 'b> BitOrAssign<u16> for NcStyle
Source§fn bitor_assign(&mut self, rhs: u16)
fn bitor_assign(&mut self, rhs: u16)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitOrAssign for NcStyle
impl<'a, 'b> BitOrAssign for NcStyle
Source§fn bitor_assign(&mut self, rhs: NcStyle)
fn bitor_assign(&mut self, rhs: NcStyle)
Performs the
|= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitXorAssign<&'b NcStyle> for &'a mut NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b NcStyle)
fn bitxor_assign(&mut self, rhs: &'b NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b NcStyle> for NcStyle
impl<'a, 'b> BitXorAssign<&'b NcStyle> for NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b NcStyle)
fn bitxor_assign(&mut self, rhs: &'b NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for &'a mut NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)
fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for NcStyle
impl<'a, 'b> BitXorAssign<&'b mut NcStyle> for NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)
fn bitxor_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b u16> for &'a mut NcStyle
impl<'a, 'b> BitXorAssign<&'b u16> for &'a mut NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b u16)
fn bitxor_assign(&mut self, rhs: &'b u16)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<&'b u16> for NcStyle
impl<'a, 'b> BitXorAssign<&'b u16> for NcStyle
Source§fn bitxor_assign(&mut self, rhs: &'b u16)
fn bitxor_assign(&mut self, rhs: &'b u16)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<NcStyle> for &'a mut NcStyle
impl<'a, 'b> BitXorAssign<NcStyle> for &'a mut NcStyle
Source§fn bitxor_assign(&mut self, rhs: NcStyle)
fn bitxor_assign(&mut self, rhs: NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<u16> for &'a mut NcStyle
impl<'a, 'b> BitXorAssign<u16> for &'a mut NcStyle
Source§fn bitxor_assign(&mut self, rhs: u16)
fn bitxor_assign(&mut self, rhs: u16)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign<u16> for NcStyle
impl<'a, 'b> BitXorAssign<u16> for NcStyle
Source§fn bitxor_assign(&mut self, rhs: u16)
fn bitxor_assign(&mut self, rhs: u16)
Performs the
^= operation. Read moreSource§impl<'a, 'b> BitXorAssign for NcStyle
impl<'a, 'b> BitXorAssign for NcStyle
Source§fn bitxor_assign(&mut self, rhs: NcStyle)
fn bitxor_assign(&mut self, rhs: NcStyle)
Performs the
^= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShlAssign<&'b NcStyle> for &'a mut NcStyle
Source§fn shl_assign(&mut self, rhs: &'b NcStyle)
fn shl_assign(&mut self, rhs: &'b NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b NcStyle> for NcStyle
impl<'a, 'b> ShlAssign<&'b NcStyle> for NcStyle
Source§fn shl_assign(&mut self, rhs: &'b NcStyle)
fn shl_assign(&mut self, rhs: &'b NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b mut NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShlAssign<&'b mut NcStyle> for &'a mut NcStyle
Source§fn shl_assign(&mut self, rhs: &'b mut NcStyle)
fn shl_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b mut NcStyle> for NcStyle
impl<'a, 'b> ShlAssign<&'b mut NcStyle> for NcStyle
Source§fn shl_assign(&mut self, rhs: &'b mut NcStyle)
fn shl_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b u16> for &'a mut NcStyle
impl<'a, 'b> ShlAssign<&'b u16> for &'a mut NcStyle
Source§fn shl_assign(&mut self, rhs: &'b u16)
fn shl_assign(&mut self, rhs: &'b u16)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<&'b u16> for NcStyle
impl<'a, 'b> ShlAssign<&'b u16> for NcStyle
Source§fn shl_assign(&mut self, rhs: &'b u16)
fn shl_assign(&mut self, rhs: &'b u16)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShlAssign<NcStyle> for &'a mut NcStyle
Source§fn shl_assign(&mut self, rhs: NcStyle)
fn shl_assign(&mut self, rhs: NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<u16> for &'a mut NcStyle
impl<'a, 'b> ShlAssign<u16> for &'a mut NcStyle
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign<u16> for NcStyle
impl<'a, 'b> ShlAssign<u16> for NcStyle
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShlAssign for NcStyle
impl<'a, 'b> ShlAssign for NcStyle
Source§fn shl_assign(&mut self, rhs: NcStyle)
fn shl_assign(&mut self, rhs: NcStyle)
Performs the
<<= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShrAssign<&'b NcStyle> for &'a mut NcStyle
Source§fn shr_assign(&mut self, rhs: &'b NcStyle)
fn shr_assign(&mut self, rhs: &'b NcStyle)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b NcStyle> for NcStyle
impl<'a, 'b> ShrAssign<&'b NcStyle> for NcStyle
Source§fn shr_assign(&mut self, rhs: &'b NcStyle)
fn shr_assign(&mut self, rhs: &'b NcStyle)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b mut NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShrAssign<&'b mut NcStyle> for &'a mut NcStyle
Source§fn shr_assign(&mut self, rhs: &'b mut NcStyle)
fn shr_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b mut NcStyle> for NcStyle
impl<'a, 'b> ShrAssign<&'b mut NcStyle> for NcStyle
Source§fn shr_assign(&mut self, rhs: &'b mut NcStyle)
fn shr_assign(&mut self, rhs: &'b mut NcStyle)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b u16> for &'a mut NcStyle
impl<'a, 'b> ShrAssign<&'b u16> for &'a mut NcStyle
Source§fn shr_assign(&mut self, rhs: &'b u16)
fn shr_assign(&mut self, rhs: &'b u16)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<&'b u16> for NcStyle
impl<'a, 'b> ShrAssign<&'b u16> for NcStyle
Source§fn shr_assign(&mut self, rhs: &'b u16)
fn shr_assign(&mut self, rhs: &'b u16)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<NcStyle> for &'a mut NcStyle
impl<'a, 'b> ShrAssign<NcStyle> for &'a mut NcStyle
Source§fn shr_assign(&mut self, rhs: NcStyle)
fn shr_assign(&mut self, rhs: NcStyle)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<u16> for &'a mut NcStyle
impl<'a, 'b> ShrAssign<u16> for &'a mut NcStyle
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign<u16> for NcStyle
impl<'a, 'b> ShrAssign<u16> for NcStyle
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
Performs the
>>= operation. Read moreSource§impl<'a, 'b> ShrAssign for NcStyle
impl<'a, 'b> ShrAssign for NcStyle
Source§fn shr_assign(&mut self, rhs: NcStyle)
fn shr_assign(&mut self, rhs: NcStyle)
Performs the
>>= operation. Read moreimpl Copy for NcStyle
impl Eq for NcStyle
impl StructuralPartialEq for NcStyle
Auto Trait Implementations§
impl Freeze for NcStyle
impl RefUnwindSafe for NcStyle
impl Send for NcStyle
impl Sync for NcStyle
impl Unpin for NcStyle
impl UnwindSafe for NcStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more