pub struct StyledPlot3D<T> { /* private fields */ }Expand description
Styled wrapper for plot types that do not store item-style state directly.
Implementations§
Source§impl<T> StyledPlot3D<T>
impl<T> StyledPlot3D<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consume the wrapper and return the wrapped plot item.
Trait Implementations§
Source§impl<T> Plot3D for StyledPlot3D<T>where
T: Plot3D,
impl<T> Plot3D for StyledPlot3D<T>where
T: Plot3D,
Source§impl<T> Plot3DItemFlagged for StyledPlot3D<T>
impl<T> Plot3DItemFlagged for StyledPlot3D<T>
Source§type Output = StyledPlot3D<T>
type Output = StyledPlot3D<T>
The output type returned by item-flag building methods.
fn map_item_flags<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(&mut Item3DFlags),
Source§fn 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.Source§impl<T> Plot3DItemStyled for StyledPlot3D<T>
impl<T> Plot3DItemStyled for StyledPlot3D<T>
Source§type Output = StyledPlot3D<T>
type Output = StyledPlot3D<T>
The output type returned by style-building methods.
fn map_style<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(&mut Plot3DItemStyle),
Source§fn with_style(self, style: Plot3DItemStyle) -> Self::Output
fn with_style(self, style: Plot3DItemStyle) -> Self::Output
Replace the entire item style override for this plot.
Source§fn with_line_weight(self, weight: f32) -> Self::Output
fn with_line_weight(self, weight: f32) -> Self::Output
Set the line width in pixels.
Source§fn with_fill_alpha(self, alpha: f32) -> Self::Output
fn with_fill_alpha(self, alpha: f32) -> Self::Output
Set the fill alpha multiplier used for fills and marker faces.
Source§fn with_marker(self, marker: Marker3D) -> Self::Output
fn with_marker(self, marker: Marker3D) -> Self::Output
Set the marker type.
Source§fn with_marker_size(self, size: f32) -> Self::Output
fn with_marker_size(self, size: f32) -> Self::Output
Set the marker size in pixels.
Auto Trait Implementations§
impl<T> Freeze for StyledPlot3D<T>where
T: Freeze,
impl<T> RefUnwindSafe for StyledPlot3D<T>where
T: RefUnwindSafe,
impl<T> Send for StyledPlot3D<T>where
T: Send,
impl<T> Sync for StyledPlot3D<T>where
T: Sync,
impl<T> Unpin for StyledPlot3D<T>where
T: Unpin,
impl<T> UnsafeUnpin for StyledPlot3D<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for StyledPlot3D<T>where
T: UnwindSafe,
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