pub struct ChainEntry {
pub slot: u8,
pub repeats: u8,
}Expand description
One entry of a pattern chain: a slot, and how many times through.
Fields§
§slot: u8§repeats: u8Times through before moving on. Zero is read as one.
Trait Implementations§
Source§impl Clone for ChainEntry
impl Clone for ChainEntry
Source§fn clone(&self) -> ChainEntry
fn clone(&self) -> ChainEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChainEntry
Source§impl Debug for ChainEntry
impl Debug for ChainEntry
Source§impl Default for ChainEntry
impl Default for ChainEntry
Source§fn default() -> ChainEntry
fn default() -> ChainEntry
Returns the “default value” for a type. Read more
impl Eq for ChainEntry
Source§impl PartialEq for ChainEntry
impl PartialEq for ChainEntry
impl StructuralPartialEq for ChainEntry
Auto Trait Implementations§
impl Freeze for ChainEntry
impl RefUnwindSafe for ChainEntry
impl Send for ChainEntry
impl Sync for ChainEntry
impl Unpin for ChainEntry
impl UnsafeUnpin for ChainEntry
impl UnwindSafe for ChainEntry
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