Struct rich_sdl2_rust::haptic::effect::Ramp
source · pub struct Ramp {
pub start: Level,
pub end: Level,
}
Expand description
A linear ramp to interpolate the force of the effect.
Fields§
§start: Level
The level at the start to play.
end: Level
The level at the end to play.
Trait Implementations§
source§impl PartialEq for Ramp
impl PartialEq for Ramp
impl Eq for Ramp
impl StructuralPartialEq for Ramp
Auto Trait Implementations§
impl RefUnwindSafe for Ramp
impl Send for Ramp
impl Sync for Ramp
impl Unpin for Ramp
impl UnwindSafe for Ramp
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