pub enum CanvasDirection {
Ltr,
Rtl,
Inherit,
}Expand description
Canvas 2D の書字方向(ctx.direction)。
Variants§
Trait Implementations§
Source§impl Clone for CanvasDirection
impl Clone for CanvasDirection
Source§fn clone(&self) -> CanvasDirection
fn clone(&self) -> CanvasDirection
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 CanvasDirection
Source§impl Debug for CanvasDirection
impl Debug for CanvasDirection
Source§impl Default for CanvasDirection
impl Default for CanvasDirection
impl Eq for CanvasDirection
Source§impl PartialEq for CanvasDirection
impl PartialEq for CanvasDirection
impl StructuralPartialEq for CanvasDirection
Auto Trait Implementations§
impl Freeze for CanvasDirection
impl RefUnwindSafe for CanvasDirection
impl Send for CanvasDirection
impl Sync for CanvasDirection
impl Unpin for CanvasDirection
impl UnsafeUnpin for CanvasDirection
impl UnwindSafe for CanvasDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.