pub struct PreambleAddressCode { /* private fields */ }Expand description
A preamble address code command contents
Implementations§
Source§impl PreambleAddressCode
impl PreambleAddressCode
Sourcepub fn new(base_row: u8, underline: bool, code: PreambleType) -> Self
pub fn new(base_row: u8, underline: bool, code: PreambleType) -> Self
Construct a new preamble
Sourcepub fn code(&self) -> PreambleType
pub fn code(&self) -> PreambleType
The complete preamble code
Trait Implementations§
Source§impl Clone for PreambleAddressCode
impl Clone for PreambleAddressCode
Source§fn clone(&self) -> PreambleAddressCode
fn clone(&self) -> PreambleAddressCode
Returns a duplicate 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 PreambleAddressCode
impl Debug for PreambleAddressCode
Source§impl Ord for PreambleAddressCode
impl Ord for PreambleAddressCode
Source§fn cmp(&self, other: &PreambleAddressCode) -> Ordering
fn cmp(&self, other: &PreambleAddressCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PreambleAddressCode
impl PartialEq for PreambleAddressCode
Source§impl PartialOrd for PreambleAddressCode
impl PartialOrd for PreambleAddressCode
impl Copy for PreambleAddressCode
impl Eq for PreambleAddressCode
impl StructuralPartialEq for PreambleAddressCode
Auto Trait Implementations§
impl Freeze for PreambleAddressCode
impl RefUnwindSafe for PreambleAddressCode
impl Send for PreambleAddressCode
impl Sync for PreambleAddressCode
impl Unpin for PreambleAddressCode
impl UnwindSafe for PreambleAddressCode
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