Enum duet_charter_lib::chart::KeyPressEvent
source · [−]pub enum KeyPressEvent {
Note {
timestamp: u32,
duration: u32,
key: u32,
},
Special {
timestamp: u32,
special_type: u32,
duration: u32,
},
TextEvent {
timestamp: u32,
content: String,
},
OtherKeyPress {
code: String,
timestamp: u32,
content: String,
},
}
Variants
Note
Special
TextEvent
OtherKeyPress
Trait Implementations
sourceimpl Debug for KeyPressEvent
impl Debug for KeyPressEvent
sourceimpl TimestampedEvent for KeyPressEvent
impl TimestampedEvent for KeyPressEvent
fn get_timestamp(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for KeyPressEvent
impl Send for KeyPressEvent
impl Sync for KeyPressEvent
impl Unpin for KeyPressEvent
impl UnwindSafe for KeyPressEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more