#[repr(transparent)]pub struct TemporalWeighting(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for TemporalWeighting
impl Clone for TemporalWeighting
Source§fn clone(&self) -> TemporalWeighting
fn clone(&self) -> TemporalWeighting
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 TemporalWeighting
impl Debug for TemporalWeighting
Source§impl Default for TemporalWeighting
impl Default for TemporalWeighting
Source§fn default() -> TemporalWeighting
fn default() -> TemporalWeighting
Returns the “default value” for a type. Read more
Source§impl From<TemporalWeighting> for usize
impl From<TemporalWeighting> for usize
Source§fn from(value: TemporalWeighting) -> Self
fn from(value: TemporalWeighting) -> Self
Converts to this type from the input type.
Source§impl From<usize> for TemporalWeighting
impl From<usize> for TemporalWeighting
Source§impl Hash for TemporalWeighting
impl Hash for TemporalWeighting
Source§impl Ord for TemporalWeighting
impl Ord for TemporalWeighting
Source§fn cmp(&self, other: &TemporalWeighting) -> Ordering
fn cmp(&self, other: &TemporalWeighting) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TemporalWeighting
impl PartialEq for TemporalWeighting
Source§fn eq(&self, other: &TemporalWeighting) -> bool
fn eq(&self, other: &TemporalWeighting) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TemporalWeighting
impl PartialOrd for TemporalWeighting
impl Copy for TemporalWeighting
impl Eq for TemporalWeighting
impl StructuralPartialEq for TemporalWeighting
Auto Trait Implementations§
impl Freeze for TemporalWeighting
impl RefUnwindSafe for TemporalWeighting
impl Send for TemporalWeighting
impl Sync for TemporalWeighting
impl Unpin for TemporalWeighting
impl UnsafeUnpin for TemporalWeighting
impl UnwindSafe for TemporalWeighting
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