Trait eggtimer::FromDuration
source · pub trait FromDuration {
fn from_duration(duration: Duration) -> Self;
}
Expand description
A trait for types that can be created from a Duration
Required Methods
sourcefn from_duration(duration: Duration) -> Self
fn from_duration(duration: Duration) -> Self
Create the value from a Duration