pub struct TimePointSystem {
pub modulus: NonZeroU16,
pub unit: Time,
}Expand description
Exact time-point system with one finite modulus and one unit duration.
Fields§
§modulus: NonZeroU16Finite onset-class modulus.
unit: TimeExact unit mapped to one onset-class step.
Implementations§
Source§impl TimePointSystem
impl TimePointSystem
Sourcepub fn alphabet(&self) -> Result<TimePointAlphabet, TimePointError>
pub fn alphabet(&self) -> Result<TimePointAlphabet, TimePointError>
Returns the canonical onset-class alphabet for this system.
Trait Implementations§
Source§impl Clone for TimePointSystem
impl Clone for TimePointSystem
Source§fn clone(&self) -> TimePointSystem
fn clone(&self) -> TimePointSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimePointSystem
impl Debug for TimePointSystem
impl Eq for TimePointSystem
Source§impl PartialEq for TimePointSystem
impl PartialEq for TimePointSystem
impl StructuralPartialEq for TimePointSystem
Auto Trait Implementations§
impl Freeze for TimePointSystem
impl RefUnwindSafe for TimePointSystem
impl Send for TimePointSystem
impl Sync for TimePointSystem
impl Unpin for TimePointSystem
impl UnsafeUnpin for TimePointSystem
impl UnwindSafe for TimePointSystem
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