pub trait Plot3DItemFlagged: Sized {
type Output;
// Required method
fn map_item_flags<F>(self, f: F) -> Self::Output
where F: FnOnce(&mut Item3DFlags);
// Provided method
fn with_item_flags(self, flags: Item3DFlags) -> Self::Output { ... }
}Expand description
Shared ImPlot3D item-flag builder methods for plot builders backed by ImPlot3DSpec.
Required Associated Types§
Required Methods§
fn map_item_flags<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(&mut Item3DFlags),
Provided Methods§
Sourcefn with_item_flags(self, flags: Item3DFlags) -> Self::Output
fn with_item_flags(self, flags: Item3DFlags) -> Self::Output
Set common item flags such as NO_LEGEND / NO_FIT.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.