pub struct PlotDataOffset(/* private fields */);Expand description
Sample-index offset used by ImPlot item data access.
ImPlot intentionally allows negative and out-of-range offsets for circular buffers, so this is a signed sample offset rather than a Rust slice index.
Implementations§
Trait Implementations§
Source§impl Clone for PlotDataOffset
impl Clone for PlotDataOffset
Source§fn clone(&self) -> PlotDataOffset
fn clone(&self) -> PlotDataOffset
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 moreimpl Copy for PlotDataOffset
Source§impl Debug for PlotDataOffset
impl Debug for PlotDataOffset
Source§impl Default for PlotDataOffset
impl Default for PlotDataOffset
Source§fn default() -> PlotDataOffset
fn default() -> PlotDataOffset
Returns the “default value” for a type. Read more
impl Eq for PlotDataOffset
Source§impl PartialEq for PlotDataOffset
impl PartialEq for PlotDataOffset
Source§fn eq(&self, other: &PlotDataOffset) -> bool
fn eq(&self, other: &PlotDataOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlotDataOffset
Auto Trait Implementations§
impl Freeze for PlotDataOffset
impl RefUnwindSafe for PlotDataOffset
impl Send for PlotDataOffset
impl Sync for PlotDataOffset
impl Unpin for PlotDataOffset
impl UnsafeUnpin for PlotDataOffset
impl UnwindSafe for PlotDataOffset
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