pub struct PlotDataLayout { /* private fields */ }Expand description
Data layout used by ImPlot item builders.
Implementations§
Source§impl PlotDataLayout
impl PlotDataLayout
Sourcepub const fn new(offset: PlotDataOffset, stride: PlotDataStride) -> Self
pub const fn new(offset: PlotDataOffset, stride: PlotDataStride) -> Self
Create a data layout from a sample offset and byte stride.
Sourcepub const fn with_offset(self, offset: PlotDataOffset) -> Self
pub const fn with_offset(self, offset: PlotDataOffset) -> Self
Create a data layout with a different sample offset.
Sourcepub const fn with_stride(self, stride: PlotDataStride) -> Self
pub const fn with_stride(self, stride: PlotDataStride) -> Self
Create a data layout with a different byte stride.
Trait Implementations§
Source§impl Clone for PlotDataLayout
impl Clone for PlotDataLayout
Source§fn clone(&self) -> PlotDataLayout
fn clone(&self) -> PlotDataLayout
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 PlotDataLayout
Source§impl Debug for PlotDataLayout
impl Debug for PlotDataLayout
Source§impl Default for PlotDataLayout
impl Default for PlotDataLayout
Source§fn default() -> PlotDataLayout
fn default() -> PlotDataLayout
Returns the “default value” for a type. Read more
impl Eq for PlotDataLayout
Source§impl PartialEq for PlotDataLayout
impl PartialEq for PlotDataLayout
Source§fn eq(&self, other: &PlotDataLayout) -> bool
fn eq(&self, other: &PlotDataLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlotDataLayout
Auto Trait Implementations§
impl Freeze for PlotDataLayout
impl RefUnwindSafe for PlotDataLayout
impl Send for PlotDataLayout
impl Sync for PlotDataLayout
impl Unpin for PlotDataLayout
impl UnsafeUnpin for PlotDataLayout
impl UnwindSafe for PlotDataLayout
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