pub struct Segment<T = QueryRef>(/* private fields */);
Implementations§
source§impl Segment
impl Segment
pub fn result(&self) -> (f64, GenericFormattedValue, GenericFormattedValue)
pub fn format(&self) -> Format
pub fn set<V: FormattedValue>( &mut self, rate: f64, start: V, stop: impl CompatibleFormattedValue<V> )
Trait Implementations§
source§impl BorrowMut<Segment> for Segment<Query>
impl BorrowMut<Segment> for Segment<Query>
source§fn borrow_mut(&mut self) -> &mut Segment
fn borrow_mut(&mut self) -> &mut Segment
Mutably borrows from an owned value. Read more
Auto Trait Implementations§
impl<T> Freeze for Segment<T>where
T: Freeze,
impl<T> RefUnwindSafe for Segment<T>where
T: RefUnwindSafe,
impl<T> Send for Segment<T>where
T: Send,
impl<T> Sync for Segment<T>where
T: Sync,
impl<T> Unpin for Segment<T>where
T: Unpin,
impl<T> UnwindSafe for Segment<T>where
T: UnwindSafe,
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