Enum oxygengine_user_interface::widget::component::interactive::navigation::NavDirection
source · [−]pub enum NavDirection {
None,
Up,
Down,
Left,
Right,
Prev,
Next,
}
Variants
None
Up
Down
Left
Right
Prev
Next
Trait Implementations
sourcefn clone(&self) -> NavDirection
fn clone(&self) -> NavDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourcefn default() -> NavDirection
fn default() -> NavDirection
Returns the “default value” for a type. Read more
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<NavDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<NavDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourcefn eq(&self, other: &NavDirection) -> bool
fn eq(&self, other: &NavDirection) -> bool
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.