Enum GridDirection
#[repr(i32)]pub enum GridDirection {
Right = 0,
Down = 1,
}Variants§
Implementations§
§impl GridDirection
impl GridDirection
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> GridDirection
Trait Implementations§
§impl Clone for GridDirection
impl Clone for GridDirection
§fn clone(&self) -> GridDirection
fn clone(&self) -> GridDirection
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 GridDirection
impl Debug for GridDirection
§impl Display for GridDirection
impl Display for GridDirection
§impl PartialEq for GridDirection
impl PartialEq for GridDirection
§impl VariantConstraint for GridDirection
impl VariantConstraint for GridDirection
§type DataArg<'a> = GridDirection
type DataArg<'a> = GridDirection
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 = GridDirection
type RetArg = GridDirection
§fn as_arg(&self) -> <GridDirection as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <GridDirection as VariantConstraint>::DataArg<'_>
impl Copy for GridDirection
impl Eq for GridDirection
impl PropertyTypeConstraint for GridDirection
impl StructuralPartialEq for GridDirection
Auto Trait Implementations§
impl Freeze for GridDirection
impl RefUnwindSafe for GridDirection
impl Send for GridDirection
impl Sync for GridDirection
impl Unpin for GridDirection
impl UnwindSafe for GridDirection
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