pub struct Note<P> {
pub pos: P,
pub column: u8,
pub kind: NoteKind<P>,
}Expand description
Singular note
Fields§
§pos: PPosition of this note
column: u8Column of this note. Left-most column is 0
kind: NoteKind<P>Type and type-specific data for this note
Trait Implementations§
Source§impl<P: Ord> Ord for Note<P>
impl<P: Ord> Ord for Note<P>
Source§impl<P: PartialOrd> PartialOrd for Note<P>
impl<P: PartialOrd> PartialOrd for Note<P>
impl<P: Eq> Eq for Note<P>
impl<P> StructuralPartialEq for Note<P>
Auto Trait Implementations§
impl<P> Freeze for Note<P>where
P: Freeze,
impl<P> RefUnwindSafe for Note<P>where
P: RefUnwindSafe,
impl<P> Send for Note<P>where
P: Send,
impl<P> Sync for Note<P>where
P: Sync,
impl<P> Unpin for Note<P>where
P: Unpin,
impl<P> UnwindSafe for Note<P>where
P: 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