#[non_exhaustive]pub enum GroupTransform {
Turn,
Flip,
TurnAndFlip,
}Expand description
What F-Office does not draw of a drawing group’s own group transform.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Turn
A turn other than none, at any angle (rot).
Flip
A flip across, down or both (flipH, flipV).
TurnAndFlip
A turn and a flip.
Implementations§
Source§impl GroupTransform
impl GroupTransform
Sourcepub const ALL: [GroupTransform; 3]
pub const ALL: [GroupTransform; 3]
Every value, in the order of their declaration.
Trait Implementations§
Source§impl Clone for GroupTransform
impl Clone for GroupTransform
Source§fn clone(&self) -> GroupTransform
fn clone(&self) -> GroupTransform
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 GroupTransform
Source§impl Debug for GroupTransform
impl Debug for GroupTransform
impl Eq for GroupTransform
Source§impl Hash for GroupTransform
impl Hash for GroupTransform
Source§impl PartialEq for GroupTransform
impl PartialEq for GroupTransform
impl StructuralPartialEq for GroupTransform
Auto Trait Implementations§
impl Forget for GroupTransform
impl Freeze for GroupTransform
impl Move for GroupTransform
impl RefUnwindSafe for GroupTransform
impl Send for GroupTransform
impl Sync for GroupTransform
impl Unpin for GroupTransform
impl UnsafeUnpin for GroupTransform
impl UnwindSafe for GroupTransform
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> 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,
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.