pub struct TimePointAlphabet { /* private fields */ }Expand description
Finite onset-class alphabet for one exact time-point system.
Implementations§
Source§impl TimePointAlphabet
impl TimePointAlphabet
Sourcepub fn try_new(modulus: NonZeroU16) -> Result<Self, TimePointError>
pub fn try_new(modulus: NonZeroU16) -> Result<Self, TimePointError>
Constructs the canonical onset-class alphabet 0..modulus.
Sourcepub const fn modulus(&self) -> NonZeroU16
pub const fn modulus(&self) -> NonZeroU16
Returns the system modulus retained by this alphabet.
Trait Implementations§
Source§impl Clone for TimePointAlphabet
impl Clone for TimePointAlphabet
Source§fn clone(&self) -> TimePointAlphabet
fn clone(&self) -> TimePointAlphabet
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 TimePointAlphabet
impl Debug for TimePointAlphabet
impl Eq for TimePointAlphabet
Source§impl PartialEq for TimePointAlphabet
impl PartialEq for TimePointAlphabet
Source§impl SerialAlphabet for TimePointAlphabet
impl SerialAlphabet for TimePointAlphabet
impl StructuralPartialEq for TimePointAlphabet
Auto Trait Implementations§
impl Freeze for TimePointAlphabet
impl RefUnwindSafe for TimePointAlphabet
impl Send for TimePointAlphabet
impl Sync for TimePointAlphabet
impl Unpin for TimePointAlphabet
impl UnsafeUnpin for TimePointAlphabet
impl UnwindSafe for TimePointAlphabet
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