Enum bevy_canvas::DrawMode [−][src]
pub enum DrawMode { Fill(FillOptions), Stroke(StrokeOptions), }
Determines how a shape is tessellated (i.e. transformed from a parametric representation to a triangle mesh).
Variants
Fill(FillOptions)
The shape is tessellated using a fill operation.
Stroke(StrokeOptions)
The shape is tessellated using a stroke operation.
Implementations
impl DrawMode
[src]
impl DrawMode
[src]pub fn stroke_1px() -> Self
[src]
pub fn fill_simple() -> Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DrawMode
impl RefUnwindSafe for DrawMode
impl UnwindSafe for DrawMode
impl UnwindSafe for DrawMode
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,