pub struct LegendLayoutResult {
pub items: Vec<LegendItem>,
pub total_height: f64,
pub overflow_count: usize,
}Expand description
Result of legend layout computation.
Fields§
§items: Vec<LegendItem>§total_height: f64§overflow_count: usizeTrait Implementations§
Source§impl Clone for LegendLayoutResult
impl Clone for LegendLayoutResult
Source§fn clone(&self) -> LegendLayoutResult
fn clone(&self) -> LegendLayoutResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LegendLayoutResult
impl RefUnwindSafe for LegendLayoutResult
impl Send for LegendLayoutResult
impl Sync for LegendLayoutResult
impl Unpin for LegendLayoutResult
impl UnsafeUnpin for LegendLayoutResult
impl UnwindSafe for LegendLayoutResult
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