#[non_exhaustive]pub enum BindCoordinate {
X,
Y,
Width,
Height,
Position,
Size,
All,
}
Expand description
Specifies which property should be used in a binding
Variants (Non-exhaustive)§
This enum is marked as 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.
X
Bind the X coordinate
Y
Bind the Y coordinate
Width
Bind the width
Height
Bind the height
Position
Equivalent to to BindCoordinate::X
and
BindCoordinate::Y
(added in Clutter 1.6)
Size
Equivalent to BindCoordinate::Width
and
BindCoordinate::Height
(added in Clutter 1.6)
All
Equivalent to BindCoordinate::Position
and
BindCoordinate::Size
(added in Clutter 1.10)
Trait Implementations§
Source§impl Clone for BindCoordinate
impl Clone for BindCoordinate
Source§fn clone(&self) -> BindCoordinate
fn clone(&self) -> BindCoordinate
Returns a duplicate 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 BindCoordinate
impl Debug for BindCoordinate
Source§impl Display for BindCoordinate
impl Display for BindCoordinate
Source§impl<'a> FromValue<'a> for BindCoordinate
impl<'a> FromValue<'a> for BindCoordinate
Source§unsafe fn from_value(value: &Value) -> Self
unsafe fn from_value(value: &Value) -> Self
Safety Read more
Source§impl<'a> FromValueOptional<'a> for BindCoordinate
impl<'a> FromValueOptional<'a> for BindCoordinate
Source§impl Hash for BindCoordinate
impl Hash for BindCoordinate
Source§impl Ord for BindCoordinate
impl Ord for BindCoordinate
Source§fn cmp(&self, other: &BindCoordinate) -> Ordering
fn cmp(&self, other: &BindCoordinate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BindCoordinate
impl PartialEq for BindCoordinate
Source§impl PartialOrd for BindCoordinate
impl PartialOrd for BindCoordinate
Source§impl SetValue for BindCoordinate
impl SetValue for BindCoordinate
Source§impl StaticType for BindCoordinate
impl StaticType for BindCoordinate
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for BindCoordinate
impl Eq for BindCoordinate
impl StructuralPartialEq for BindCoordinate
Auto Trait Implementations§
impl Freeze for BindCoordinate
impl RefUnwindSafe for BindCoordinate
impl Send for BindCoordinate
impl Sync for BindCoordinate
impl Unpin for BindCoordinate
impl UnwindSafe for BindCoordinate
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§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.