pub struct DummyPlot<'a> { /* private fields */ }Expand description
Builder for dummy plots
Dummy plots add a legend entry without plotting any actual data. This is useful for creating custom legend entries or placeholders.
Implementations§
Source§impl<'a> DummyPlot<'a>
impl<'a> DummyPlot<'a>
Sourcepub fn with_flags(self, flags: DummyFlags) -> Self
pub fn with_flags(self, flags: DummyFlags) -> Self
Set dummy flags for customization
Sourcepub fn with_item_flags(self, flags: ItemFlags) -> Self
pub fn with_item_flags(self, flags: ItemFlags) -> Self
Set common item flags for this plot item (applies to all plot types)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DummyPlot<'a>
impl<'a> RefUnwindSafe for DummyPlot<'a>
impl<'a> Send for DummyPlot<'a>
impl<'a> Sync for DummyPlot<'a>
impl<'a> Unpin for DummyPlot<'a>
impl<'a> UnsafeUnpin for DummyPlot<'a>
impl<'a> UnwindSafe for DummyPlot<'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