Enum animate::TextDirection [−][src]
#[non_exhaustive] pub enum TextDirection { Default, Ltr, Rtl, // some variants omitted }
The text direction to be used by Actor
s
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Use the default setting, as returned
by clutter_get_default_text_direction
Use left-to-right text direction
Use right-to-left text direction
Trait Implementations
impl Clone for TextDirection
[src]
impl Clone for TextDirection
[src]fn clone(&self) -> TextDirection
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextDirection
[src]
impl Copy for TextDirection
[src]impl Eq for TextDirection
[src]
impl Eq for TextDirection
[src]impl<'a> FromValue<'a> for TextDirection
[src]
impl<'a> FromValue<'a> for TextDirection
[src]unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for TextDirection
[src]
impl<'a> FromValueOptional<'a> for TextDirection
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for TextDirection
[src]
impl Hash for TextDirection
[src]impl Ord for TextDirection
[src]
impl Ord for TextDirection
[src]impl PartialEq<TextDirection> for TextDirection
[src]
impl PartialEq<TextDirection> for TextDirection
[src]fn eq(&self, other: &TextDirection) -> bool
[src]
fn ne(&self, other: &TextDirection) -> bool
[src]
impl PartialOrd<TextDirection> for TextDirection
[src]
impl PartialOrd<TextDirection> for TextDirection
[src]fn partial_cmp(&self, other: &TextDirection) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StaticType for TextDirection
[src]
impl StaticType for TextDirection
[src]fn static_type() -> Type
[src]
impl StructuralEq for TextDirection
[src]
impl StructuralEq for TextDirection
[src]impl StructuralPartialEq for TextDirection
[src]
impl StructuralPartialEq for TextDirection
[src]Auto Trait Implementations
impl RefUnwindSafe for TextDirection
impl RefUnwindSafe for TextDirection
impl Send for TextDirection
impl Send for TextDirection
impl Sync for TextDirection
impl Sync for TextDirection
impl Unpin for TextDirection
impl Unpin for TextDirection
impl UnwindSafe for TextDirection
impl UnwindSafe for TextDirection
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,