pub enum DisplayElement<Reg: Display> {
Literal(&'static str),
Register(Reg),
Number(bool, i64),
}
Variants§
Trait Implementations§
Source§impl<Reg: Clone + Display> Clone for DisplayElement<Reg>
impl<Reg: Clone + Display> Clone for DisplayElement<Reg>
Source§fn clone(&self) -> DisplayElement<Reg>
fn clone(&self) -> DisplayElement<Reg>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Reg: Display> Display for DisplayElement<Reg>
impl<Reg: Display> Display for DisplayElement<Reg>
impl<Reg: Copy + Display> Copy for DisplayElement<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for DisplayElement<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for DisplayElement<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for DisplayElement<Reg>where
Reg: Send,
impl<Reg> Sync for DisplayElement<Reg>where
Reg: Sync,
impl<Reg> Unpin for DisplayElement<Reg>where
Reg: Unpin,
impl<Reg> UnwindSafe for DisplayElement<Reg>where
Reg: UnwindSafe,
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