#[non_exhaustive]pub enum LabelOverflow {
Omit,
Legend,
}Expand description
What happens to a label that found no inline position.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Omit
Unplaced labels appear nowhere (a diagnostic still fires — the output is never silently lossy).
Legend
Unplaced labels are recorded in the plan’s legend list. Whether
that list is printed is emission
(EmitOptions::render_legend).
Trait Implementations§
Source§impl Clone for LabelOverflow
impl Clone for LabelOverflow
Source§fn clone(&self) -> LabelOverflow
fn clone(&self) -> LabelOverflow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LabelOverflow
Source§impl Debug for LabelOverflow
impl Debug for LabelOverflow
Source§impl Default for LabelOverflow
impl Default for LabelOverflow
Source§fn default() -> LabelOverflow
fn default() -> LabelOverflow
Returns the “default value” for a type. Read more
impl Eq for LabelOverflow
Source§impl PartialEq for LabelOverflow
impl PartialEq for LabelOverflow
impl StructuralPartialEq for LabelOverflow
Auto Trait Implementations§
impl Freeze for LabelOverflow
impl RefUnwindSafe for LabelOverflow
impl Send for LabelOverflow
impl Sync for LabelOverflow
impl Unpin for LabelOverflow
impl UnsafeUnpin for LabelOverflow
impl UnwindSafe for LabelOverflow
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