#[repr(u8)]pub enum StFunction {
SevenBit = 92,
EightBit = 156,
}
Expand description
ST escape sequence function
Variants§
Implementations§
Source§impl StFunction
impl StFunction
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new StFunction.
Trait Implementations§
Source§impl Clone for StFunction
impl Clone for StFunction
Source§fn clone(&self) -> StFunction
fn clone(&self) -> StFunction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StFunction
impl Debug for StFunction
Source§impl Default for StFunction
impl Default for StFunction
Source§fn default() -> StFunction
fn default() -> StFunction
Returns the “default value” for a type. Read more
Source§impl Display for StFunction
impl Display for StFunction
Source§impl From<&DcsMode> for StFunction
impl From<&DcsMode> for StFunction
Source§impl From<&StFunction> for DcsMode
impl From<&StFunction> for DcsMode
Source§fn from(val: &StFunction) -> Self
fn from(val: &StFunction) -> Self
Converts to this type from the input type.
Source§impl From<&StFunction> for char
impl From<&StFunction> for char
Source§fn from(val: &StFunction) -> Self
fn from(val: &StFunction) -> Self
Converts to this type from the input type.
Source§impl From<&StFunction> for u8
impl From<&StFunction> for u8
Source§fn from(val: &StFunction) -> Self
fn from(val: &StFunction) -> Self
Converts to this type from the input type.
Source§impl From<DcsMode> for StFunction
impl From<DcsMode> for StFunction
Source§impl From<StFunction> for DcsMode
impl From<StFunction> for DcsMode
Source§fn from(val: StFunction) -> Self
fn from(val: StFunction) -> Self
Converts to this type from the input type.
Source§impl From<StFunction> for char
impl From<StFunction> for char
Source§fn from(val: StFunction) -> Self
fn from(val: StFunction) -> Self
Converts to this type from the input type.
Source§impl From<StFunction> for u8
impl From<StFunction> for u8
Source§fn from(val: StFunction) -> Self
fn from(val: StFunction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StFunction
impl PartialEq for StFunction
impl Copy for StFunction
impl StructuralPartialEq for StFunction
Auto Trait Implementations§
impl Freeze for StFunction
impl RefUnwindSafe for StFunction
impl Send for StFunction
impl Sync for StFunction
impl Unpin for StFunction
impl UnwindSafe for StFunction
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