Enum three::custom::state::RasterMethod
pub enum RasterMethod {
Point,
Line(i32),
Fill,
}
Expand description
How to rasterize a primitive.
Variants
Point
Rasterize as a point.
Line(i32)
Rasterize as a line with the given width.
Fill
Rasterize as a face.
Trait Implementations
impl Clone for RasterMethod
impl Clone for RasterMethod
fn clone(&self) -> RasterMethod
fn clone(&self) -> RasterMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for RasterMethod
impl Debug for RasterMethod
impl Hash for RasterMethod
impl Hash for RasterMethod
impl PartialEq<RasterMethod> for RasterMethod
impl PartialEq<RasterMethod> for RasterMethod
fn eq(&self, other: &RasterMethod) -> bool
fn eq(&self, other: &RasterMethod) -> bool
impl PartialOrd<RasterMethod> for RasterMethod
impl PartialOrd<RasterMethod> for RasterMethod
fn partial_cmp(&self, other: &RasterMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &RasterMethod) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RasterMethod
impl Eq for RasterMethod
impl StructuralEq for RasterMethod
impl StructuralPartialEq for RasterMethod
Auto Trait Implementations
impl RefUnwindSafe for RasterMethod
impl Send for RasterMethod
impl Sync for RasterMethod
impl Unpin for RasterMethod
impl UnwindSafe for RasterMethod
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.