#[repr(u16)]pub enum HatchStyle {
HS_HORIZONTAL = 0,
HS_VERTICAL = 1,
HS_FDIAGONAL = 2,
HS_BDIAGONAL = 3,
HS_CROSS = 4,
HS_DIAGCROSS = 5,
}Expand description
The HatchStyle Enumeration specifies the hatch pattern.
Variants§
HS_HORIZONTAL = 0
A horizontal hatch.
HS_VERTICAL = 1
A vertical hatch.
HS_FDIAGONAL = 2
A 45-degree downward, left-to-right hatch.
HS_BDIAGONAL = 3
A 45-degree upward, left-to-right hatch.
HS_CROSS = 4
A horizontal and vertical cross-hatch.
HS_DIAGCROSS = 5
A 45-degree crosshatch.
Implementations§
Source§impl HatchStyle
impl HatchStyle
Source§impl HatchStyle
impl HatchStyle
Trait Implementations§
Source§impl Clone for HatchStyle
impl Clone for HatchStyle
impl Copy for HatchStyle
Source§impl Debug for HatchStyle
impl Debug for HatchStyle
impl Eq for HatchStyle
Source§impl IntoEnumIterator for HatchStyle
impl IntoEnumIterator for HatchStyle
type Iterator = HatchStyleIter
fn iter() -> HatchStyleIter ⓘ
Source§impl Ord for HatchStyle
impl Ord for HatchStyle
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HatchStyle
impl PartialEq for HatchStyle
Source§impl PartialOrd for HatchStyle
impl PartialOrd for HatchStyle
impl StructuralPartialEq for HatchStyle
Auto Trait Implementations§
impl Forget for HatchStyle
impl Freeze for HatchStyle
impl Move for HatchStyle
impl RefUnwindSafe for HatchStyle
impl Send for HatchStyle
impl Sync for HatchStyle
impl Unpin for HatchStyle
impl UnsafeUnpin for HatchStyle
impl UnwindSafe for HatchStyle
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.