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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> HasMut<T> for T
impl<T> HasMut<T> for T
sourcefn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.