pub enum CarveSelector {
Shape,
Remainder,
All,
}Expand description
Region selectors for the ShapeL / ShapeU footprint-carving ops.
Variants§
Shape
The carved letter shape. ShapeL delivers it as TWO rectangular
scopes (front bar + side leg), ShapeU as three — OBB purity means a
letter footprint is a set of boxes, never one polygon.
Remainder
The rectangular remainder cut away from the letter.
All
Matches any selector not otherwise mapped.
Implementations§
Trait Implementations§
Source§impl Clone for CarveSelector
impl Clone for CarveSelector
Source§fn clone(&self) -> CarveSelector
fn clone(&self) -> CarveSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CarveSelector
Source§impl Debug for CarveSelector
impl Debug for CarveSelector
Source§impl<'de> Deserialize<'de> for CarveSelector
impl<'de> Deserialize<'de> for CarveSelector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CarveSelector
Source§impl Hash for CarveSelector
impl Hash for CarveSelector
Source§impl PartialEq for CarveSelector
impl PartialEq for CarveSelector
Source§impl Serialize for CarveSelector
impl Serialize for CarveSelector
impl StructuralPartialEq for CarveSelector
Auto Trait Implementations§
impl Freeze for CarveSelector
impl RefUnwindSafe for CarveSelector
impl Send for CarveSelector
impl Sync for CarveSelector
impl Unpin for CarveSelector
impl UnsafeUnpin for CarveSelector
impl UnwindSafe for CarveSelector
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more