Enum components::SnapEdge [−][src]
#[non_exhaustive]
pub enum SnapEdge {
Top,
Right,
Bottom,
Left,
// some variants omitted
}The edge to snap
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.
the top edge
the right edge
the bottom edge
the left edge
Trait Implementations
impl<'a> FromValueOptional<'a> for SnapEdge[src]
impl<'a> FromValueOptional<'a> for SnapEdge[src]pub unsafe fn from_value_optional(value: &Value) -> Option<SnapEdge>[src]
impl PartialOrd<SnapEdge> for SnapEdge[src]
impl PartialOrd<SnapEdge> for SnapEdge[src]pub fn partial_cmp(&self, other: &SnapEdge) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StaticType for SnapEdge[src]
impl StaticType for SnapEdge[src]pub fn static_type() -> Type[src]
impl StructuralEq for SnapEdge[src]
impl StructuralEq for SnapEdge[src]impl StructuralPartialEq for SnapEdge[src]
impl StructuralPartialEq for SnapEdge[src]Auto Trait Implementations
impl RefUnwindSafe for SnapEdge
impl RefUnwindSafe for SnapEdgeimpl UnwindSafe for SnapEdge
impl UnwindSafe for SnapEdgeBlanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>, pub fn into_color(self) -> To
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>,