Enum OutlineMethod
#[repr(i32)]pub enum OutlineMethod {
Box = 0,
TwoPass = 1,
Count = 2,
}Expand description
Specifies the available outline calculation methods.
Variants§
Box = 0
%Box search over the pixel.
TwoPass = 1
Two-pass blur-like search.
Count = 2
Number of methods.
Implementations§
§impl OutlineMethod
impl OutlineMethod
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> OutlineMethod
Trait Implementations§
§impl Clone for OutlineMethod
impl Clone for OutlineMethod
§fn clone(&self) -> OutlineMethod
fn clone(&self) -> OutlineMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for OutlineMethod
impl Debug for OutlineMethod
§impl Display for OutlineMethod
impl Display for OutlineMethod
§impl PartialEq for OutlineMethod
impl PartialEq for OutlineMethod
§impl VariantConstraint for OutlineMethod
impl VariantConstraint for OutlineMethod
§type DataArg<'a> = OutlineMethod
type DataArg<'a> = OutlineMethod
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = OutlineMethod
type RetArg = OutlineMethod
§fn as_arg(&self) -> <OutlineMethod as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <OutlineMethod as VariantConstraint>::DataArg<'_>
impl Copy for OutlineMethod
impl Eq for OutlineMethod
impl PropertyTypeConstraint for OutlineMethod
impl StructuralPartialEq for OutlineMethod
Auto Trait Implementations§
impl Freeze for OutlineMethod
impl RefUnwindSafe for OutlineMethod
impl Send for OutlineMethod
impl Sync for OutlineMethod
impl Unpin for OutlineMethod
impl UnwindSafe for OutlineMethod
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