pub enum ViewDirection {
Row,
Col,
None,
}Variants§
Implementations§
Source§impl ViewDirection
impl ViewDirection
pub fn new_Row() -> Self
pub fn __expand_new_Row(_: &mut Scope) -> ViewDirectionExpand
pub fn new_Col() -> Self
pub fn __expand_new_Col(_: &mut Scope) -> ViewDirectionExpand
pub fn new_None() -> Self
pub fn __expand_new_None(_: &mut Scope) -> ViewDirectionExpand
Trait Implementations§
Source§impl Clone for ViewDirection
impl Clone for ViewDirection
Source§fn clone(&self) -> ViewDirection
fn clone(&self) -> ViewDirection
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 moreSource§impl CubeDebug for ViewDirection
impl CubeDebug for ViewDirection
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl CubeType for ViewDirection
impl CubeType for ViewDirection
type ExpandType = ViewDirectionExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
impl Copy for ViewDirection
Auto Trait Implementations§
impl Freeze for ViewDirection
impl RefUnwindSafe for ViewDirection
impl Send for ViewDirection
impl Sync for ViewDirection
impl Unpin for ViewDirection
impl UnwindSafe for ViewDirection
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