pub struct SubplotGrid<'a> { /* private fields */ }Expand description
Multi-plot layout manager for creating subplot grids
Implementations§
Source§impl<'a> SubplotGrid<'a>
impl<'a> SubplotGrid<'a>
Sourcepub fn with_flags(self, flags: SubplotFlags) -> Self
pub fn with_flags(self, flags: SubplotFlags) -> Self
Set subplot flags
Sourcepub fn with_row_ratios(self, ratios: &'a [f32]) -> Self
pub fn with_row_ratios(self, ratios: &'a [f32]) -> Self
Set row height ratios
Sourcepub fn with_col_ratios(self, ratios: &'a [f32]) -> Self
pub fn with_col_ratios(self, ratios: &'a [f32]) -> Self
Set column width ratios
Sourcepub fn begin(self) -> Result<SubplotToken<'a>, PlotError>
pub fn begin(self) -> Result<SubplotToken<'a>, PlotError>
Begin the subplot grid and return a token
Auto Trait Implementations§
impl<'a> Freeze for SubplotGrid<'a>
impl<'a> RefUnwindSafe for SubplotGrid<'a>
impl<'a> Send for SubplotGrid<'a>
impl<'a> Sync for SubplotGrid<'a>
impl<'a> Unpin for SubplotGrid<'a>
impl<'a> UnwindSafe for SubplotGrid<'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