Enum solstice_2d::VerticalAlign
source · [−]pub enum VerticalAlign {
Top,
Center,
Bottom,
}Variants
Top
Center
Bottom
Trait Implementations
sourceimpl Clone for VerticalAlign
impl Clone for VerticalAlign
sourcefn clone(&self) -> VerticalAlign
fn clone(&self) -> VerticalAlign
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VerticalAlign
impl Debug for VerticalAlign
sourceimpl From<&VerticalAlign> for VerticalAlign
impl From<&VerticalAlign> for VerticalAlign
sourcefn from(align: &VerticalAlign) -> Self
fn from(align: &VerticalAlign) -> Self
Converts to this type from the input type.
sourceimpl Hash for VerticalAlign
impl Hash for VerticalAlign
sourceimpl PartialEq<VerticalAlign> for VerticalAlign
impl PartialEq<VerticalAlign> for VerticalAlign
sourcefn eq(&self, other: &VerticalAlign) -> bool
fn eq(&self, other: &VerticalAlign) -> bool
impl Copy for VerticalAlign
impl Eq for VerticalAlign
impl StructuralEq for VerticalAlign
impl StructuralPartialEq for VerticalAlign
Auto Trait Implementations
impl RefUnwindSafe for VerticalAlign
impl Send for VerticalAlign
impl Sync for VerticalAlign
impl Unpin for VerticalAlign
impl UnwindSafe for VerticalAlign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.