Enum UiFlexDirection
pub enum UiFlexDirection {
Column,
Row,
}Expand description
Flex direction for child nodes
Variants§
Trait Implementations§
§impl<'__de, __Context> BorrowDecode<'__de, __Context> for UiFlexDirection
impl<'__de, __Context> BorrowDecode<'__de, __Context> for UiFlexDirection
§fn borrow_decode<__D>(decoder: &mut __D) -> Result<UiFlexDirection, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
fn borrow_decode<__D>(decoder: &mut __D) -> Result<UiFlexDirection, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
Attempt to decode this type with the given BorrowDecode.
§impl Clone for UiFlexDirection
impl Clone for UiFlexDirection
§fn clone(&self) -> UiFlexDirection
fn clone(&self) -> UiFlexDirection
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 more§impl Debug for UiFlexDirection
impl Debug for UiFlexDirection
§impl<__Context> Decode<__Context> for UiFlexDirection
impl<__Context> Decode<__Context> for UiFlexDirection
§fn decode<__D>(decoder: &mut __D) -> Result<UiFlexDirection, DecodeError>where
__D: Decoder<Context = __Context>,
fn decode<__D>(decoder: &mut __D) -> Result<UiFlexDirection, DecodeError>where
__D: Decoder<Context = __Context>,
Attempt to decode this type with the given Decode.
§impl Default for UiFlexDirection
impl Default for UiFlexDirection
§fn default() -> UiFlexDirection
fn default() -> UiFlexDirection
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for UiFlexDirection
impl<'de> Deserialize<'de> for UiFlexDirection
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UiFlexDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UiFlexDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Encode for UiFlexDirection
impl Encode for UiFlexDirection
§impl PartialEq for UiFlexDirection
impl PartialEq for UiFlexDirection
§impl Serialize for UiFlexDirection
impl Serialize for UiFlexDirection
§fn 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
impl Copy for UiFlexDirection
impl Eq for UiFlexDirection
impl StructuralPartialEq for UiFlexDirection
Auto Trait Implementations§
impl Freeze for UiFlexDirection
impl RefUnwindSafe for UiFlexDirection
impl Send for UiFlexDirection
impl Sync for UiFlexDirection
impl Unpin for UiFlexDirection
impl UnsafeUnpin for UiFlexDirection
impl UnwindSafe for UiFlexDirection
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.