Enum oxygengine_user_interface::raui::core::widget::unit::text::TextBoxDirection
source · pub enum TextBoxDirection {
HorizontalLeftToRight,
HorizontalRightToLeft,
VerticalTopToBottom,
VerticalBottomToTop,
}
Variants§
Implementations§
source§impl TextBoxDirection
impl TextBoxDirection
pub fn is_horizontal(&self) -> bool
pub fn is_vertical(&self) -> bool
pub fn is_order_ascending(&self) -> bool
pub fn is_order_descending(&self) -> bool
Trait Implementations§
source§impl Clone for TextBoxDirection
impl Clone for TextBoxDirection
source§fn clone(&self) -> TextBoxDirection
fn clone(&self) -> TextBoxDirection
Returns a copy 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 Debug for TextBoxDirection
impl Debug for TextBoxDirection
source§impl Default for TextBoxDirection
impl Default for TextBoxDirection
source§fn default() -> TextBoxDirection
fn default() -> TextBoxDirection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TextBoxDirection
impl<'de> Deserialize<'de> for TextBoxDirection
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TextBoxDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TextBoxDirection, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TextBoxDirection> for TextBoxDirection
impl PartialEq<TextBoxDirection> for TextBoxDirection
source§fn eq(&self, other: &TextBoxDirection) -> bool
fn eq(&self, other: &TextBoxDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TextBoxDirection
impl Serialize for TextBoxDirection
source§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 TextBoxDirection
impl Eq for TextBoxDirection
impl StructuralEq for TextBoxDirection
impl StructuralPartialEq for TextBoxDirection
Auto Trait Implementations§
impl RefUnwindSafe for TextBoxDirection
impl Send for TextBoxDirection
impl Sync for TextBoxDirection
impl Unpin for TextBoxDirection
impl UnwindSafe for TextBoxDirection
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more