pub enum DrawMode {
Stroke(StrokeOptions),
Fill(FillOptions),
}
Expand description
Specifies whether a mesh should be drawn filled or as an outline.
Variants§
Stroke(StrokeOptions)
A stroked line with given parameters, see StrokeOptions
documentation.
Fill(FillOptions)
A filled shape with given parameters, see FillOptions
documentation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DrawMode
impl Send for DrawMode
impl Sync for DrawMode
impl Unpin for DrawMode
impl UnwindSafe for DrawMode
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.