pub struct TimePeriod(/* private fields */);
Expand description
A time period in seconds is represented here
Time periods are positive only numbers with min and max values in a pleasing range for users of the ADSR
Trait Implementations§
Source§impl Clone for TimePeriod
impl Clone for TimePeriod
Source§fn clone(&self) -> TimePeriod
fn clone(&self) -> TimePeriod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimePeriod
impl Debug for TimePeriod
Source§impl From<TimePeriod> for f32
impl From<TimePeriod> for f32
Source§fn from(val: TimePeriod) -> Self
fn from(val: TimePeriod) -> Self
Converts to this type from the input type.
Source§impl From<f32> for TimePeriod
impl From<f32> for TimePeriod
Source§impl PartialEq for TimePeriod
impl PartialEq for TimePeriod
impl Copy for TimePeriod
impl StructuralPartialEq for TimePeriod
Auto Trait Implementations§
impl Freeze for TimePeriod
impl RefUnwindSafe for TimePeriod
impl Send for TimePeriod
impl Sync for TimePeriod
impl Unpin for TimePeriod
impl UnwindSafe for TimePeriod
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