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 for TextBoxDirection
impl PartialEq for TextBoxDirection
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 StructuralPartialEq for TextBoxDirection
Auto Trait Implementations§
impl Freeze for TextBoxDirection
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