pub struct ChannelExpr {
pub pitch_bend: i16,
pub pressure: u8,
pub timbre: u8,
}Expand description
The live expression state of one member channel.
Fields§
§pitch_bend: i16Pitch-bend as a signed offset from center (-8192..=8191).
pressure: u8Channel pressure / aftertouch (0..=127).
timbre: u8Timbre — CC 74 value (0..=127).
Implementations§
Source§impl ChannelExpr
impl ChannelExpr
Sourcepub const NEUTRAL: ChannelExpr
pub const NEUTRAL: ChannelExpr
Neutral state: no bend, no pressure, mid timbre.
Trait Implementations§
Source§impl Clone for ChannelExpr
impl Clone for ChannelExpr
impl Copy for ChannelExpr
Source§impl Debug for ChannelExpr
impl Debug for ChannelExpr
impl Eq for ChannelExpr
Source§impl PartialEq for ChannelExpr
impl PartialEq for ChannelExpr
impl StructuralPartialEq for ChannelExpr
Auto Trait Implementations§
impl Freeze for ChannelExpr
impl RefUnwindSafe for ChannelExpr
impl Send for ChannelExpr
impl Sync for ChannelExpr
impl Unpin for ChannelExpr
impl UnsafeUnpin for ChannelExpr
impl UnwindSafe for ChannelExpr
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