pub struct InPatternPosition {
pub row: u16,
pub channel: u8,
}Expand description
both row and channel are zero based. If this ever changes a lot of the implementations of Pattern need to be changed, because the searching starts working differently
Fields§
§row: u16§channel: u8Trait Implementations§
Source§impl Clone for InPatternPosition
impl Clone for InPatternPosition
Source§fn clone(&self) -> InPatternPosition
fn clone(&self) -> InPatternPosition
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 InPatternPosition
impl Debug for InPatternPosition
Source§impl Index<InPatternPosition> for Pattern
impl Index<InPatternPosition> for Pattern
Source§impl IndexMut<InPatternPosition> for Pattern
impl IndexMut<InPatternPosition> for Pattern
Source§impl Ord for InPatternPosition
impl Ord for InPatternPosition
Source§fn cmp(&self, other: &InPatternPosition) -> Ordering
fn cmp(&self, other: &InPatternPosition) -> 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 InPatternPosition
impl PartialEq for InPatternPosition
Source§impl PartialOrd for InPatternPosition
impl PartialOrd for InPatternPosition
impl Copy for InPatternPosition
impl Eq for InPatternPosition
impl StructuralPartialEq for InPatternPosition
Auto Trait Implementations§
impl Freeze for InPatternPosition
impl RefUnwindSafe for InPatternPosition
impl Send for InPatternPosition
impl Sync for InPatternPosition
impl Unpin for InPatternPosition
impl UnwindSafe for InPatternPosition
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