pub enum ShapePreset {
Rect,
Line,
Unsupported,
}Expand description
The preset geometries we can draw.
Variants§
Rect
A rectangle, drawn as a filled box.
Line
A straight line, drawn along the top edge of the extent.
Unsupported
Anything else. The body is not drawn, but text still is.
Implementations§
Trait Implementations§
Source§impl Clone for ShapePreset
impl Clone for ShapePreset
Source§fn clone(&self) -> ShapePreset
fn clone(&self) -> ShapePreset
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 ShapePreset
Source§impl Debug for ShapePreset
impl Debug for ShapePreset
impl Eq for ShapePreset
Source§impl PartialEq for ShapePreset
impl PartialEq for ShapePreset
impl StructuralPartialEq for ShapePreset
Auto Trait Implementations§
impl Freeze for ShapePreset
impl RefUnwindSafe for ShapePreset
impl Send for ShapePreset
impl Sync for ShapePreset
impl Unpin for ShapePreset
impl UnsafeUnpin for ShapePreset
impl UnwindSafe for ShapePreset
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