pub struct Frame2RtConverter { /* private fields */ }Expand description
A converter from Frame -> retention time.
Implementations§
Source§impl Frame2RtConverter
impl Frame2RtConverter
pub fn new(path: &str) -> Self
pub fn from_values(forward: HashMap<FrameIndex, Rt>) -> Self
Trait Implementations§
Source§impl Clone for Frame2RtConverter
impl Clone for Frame2RtConverter
Source§fn clone(&self) -> Frame2RtConverter
fn clone(&self) -> Frame2RtConverter
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 Converter<FrameIndex, Rt> for Frame2RtConverter
impl Converter<FrameIndex, Rt> for Frame2RtConverter
Source§impl Converter<Rt, FrameIndex> for Frame2RtConverter
impl Converter<Rt, FrameIndex> for Frame2RtConverter
Source§impl Debug for Frame2RtConverter
impl Debug for Frame2RtConverter
Source§impl Default for Frame2RtConverter
impl Default for Frame2RtConverter
Source§fn default() -> Frame2RtConverter
fn default() -> Frame2RtConverter
Returns the “default value” for a type. Read more
Source§impl PartialEq for Frame2RtConverter
impl PartialEq for Frame2RtConverter
Source§fn eq(&self, other: &Frame2RtConverter) -> bool
fn eq(&self, other: &Frame2RtConverter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Frame2RtConverter
Auto Trait Implementations§
impl Freeze for Frame2RtConverter
impl RefUnwindSafe for Frame2RtConverter
impl Send for Frame2RtConverter
impl Sync for Frame2RtConverter
impl Unpin for Frame2RtConverter
impl UnsafeUnpin for Frame2RtConverter
impl UnwindSafe for Frame2RtConverter
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more