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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)