pub struct Plot3DItemArrayStyle<'a> { /* private fields */ }Expand description
One-shot array-backed item style overrides for the next ImPlot3D submission.
Implementations§
Source§impl<'a> Plot3DItemArrayStyle<'a>
impl<'a> Plot3DItemArrayStyle<'a>
Sourcepub fn with_line_colors(self, colors: &'a [u32]) -> Self
pub fn with_line_colors(self, colors: &'a [u32]) -> Self
Override per-index line colors using Dear ImGui packed colors (ImU32 / ABGR).
Sourcepub fn with_fill_colors(self, colors: &'a [u32]) -> Self
pub fn with_fill_colors(self, colors: &'a [u32]) -> Self
Override per-index fill colors using Dear ImGui packed colors (ImU32 / ABGR).
Sourcepub fn with_marker_sizes(self, sizes: &'a [f32]) -> Self
pub fn with_marker_sizes(self, sizes: &'a [f32]) -> Self
Override per-index marker sizes in pixels.
Sourcepub fn with_marker_line_colors(self, colors: &'a [u32]) -> Self
pub fn with_marker_line_colors(self, colors: &'a [u32]) -> Self
Override per-index marker outline colors using Dear ImGui packed colors (ImU32 / ABGR).
Sourcepub fn with_marker_fill_colors(self, colors: &'a [u32]) -> Self
pub fn with_marker_fill_colors(self, colors: &'a [u32]) -> Self
Override per-index marker fill colors using Dear ImGui packed colors (ImU32 / ABGR).
Trait Implementations§
Source§impl<'a> Clone for Plot3DItemArrayStyle<'a>
impl<'a> Clone for Plot3DItemArrayStyle<'a>
Source§fn clone(&self) -> Plot3DItemArrayStyle<'a>
fn clone(&self) -> Plot3DItemArrayStyle<'a>
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<'a> Debug for Plot3DItemArrayStyle<'a>
impl<'a> Debug for Plot3DItemArrayStyle<'a>
Source§impl<'a> Default for Plot3DItemArrayStyle<'a>
impl<'a> Default for Plot3DItemArrayStyle<'a>
Source§fn default() -> Plot3DItemArrayStyle<'a>
fn default() -> Plot3DItemArrayStyle<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for Plot3DItemArrayStyle<'a>
impl<'a> PartialEq for Plot3DItemArrayStyle<'a>
Source§fn eq(&self, other: &Plot3DItemArrayStyle<'a>) -> bool
fn eq(&self, other: &Plot3DItemArrayStyle<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for Plot3DItemArrayStyle<'a>
Auto Trait Implementations§
impl<'a> Freeze for Plot3DItemArrayStyle<'a>
impl<'a> RefUnwindSafe for Plot3DItemArrayStyle<'a>
impl<'a> Send for Plot3DItemArrayStyle<'a>
impl<'a> Sync for Plot3DItemArrayStyle<'a>
impl<'a> Unpin for Plot3DItemArrayStyle<'a>
impl<'a> UnsafeUnpin for Plot3DItemArrayStyle<'a>
impl<'a> UnwindSafe for Plot3DItemArrayStyle<'a>
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