Struct Note Target
pub struct NoteTarget {
pub channel: Option<u8>,
pub key: Option<u8>,
pub id: Option<NoteId>,
}Expand description
Matching scope within a routed note endpoint. None is a wildcard, not an unknown field. IDs retain the full portable u32 range; backends check limits.
Fields§
§channel: Option<u8>§key: Option<u8>§id: Option<NoteId>Implementations§
§impl NoteTarget
impl NoteTarget
Trait Implementations§
§impl Clone for NoteTarget
impl Clone for NoteTarget
§fn clone(&self) -> NoteTarget
fn clone(&self) -> NoteTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoteTarget
§impl Debug for NoteTarget
impl Debug for NoteTarget
§impl Default for NoteTarget
impl Default for NoteTarget
§fn default() -> NoteTarget
fn default() -> NoteTarget
Returns the “default value” for a type. Read more
impl Eq for NoteTarget
§impl PartialEq for NoteTarget
impl PartialEq for NoteTarget
impl StructuralPartialEq for NoteTarget
Auto Trait Implementations§
impl Freeze for NoteTarget
impl RefUnwindSafe for NoteTarget
impl Send for NoteTarget
impl Sync for NoteTarget
impl Unpin for NoteTarget
impl UnsafeUnpin for NoteTarget
impl UnwindSafe for NoteTarget
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more