Enum solstice_2d::VerticalAlign
source · pub enum VerticalAlign {
Top,
Center,
Bottom,
}
Variants§
Trait Implementations§
source§impl Clone for VerticalAlign
impl Clone for VerticalAlign
source§fn clone(&self) -> VerticalAlign
fn clone(&self) -> VerticalAlign
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 VerticalAlign
impl Debug for VerticalAlign
source§impl From<&VerticalAlign> for VerticalAlign
impl From<&VerticalAlign> for VerticalAlign
source§fn from(align: &VerticalAlign) -> Self
fn from(align: &VerticalAlign) -> Self
Converts to this type from the input type.
source§impl Hash for VerticalAlign
impl Hash for VerticalAlign
source§impl PartialEq<VerticalAlign> for VerticalAlign
impl PartialEq<VerticalAlign> for VerticalAlign
source§fn eq(&self, other: &VerticalAlign) -> bool
fn eq(&self, other: &VerticalAlign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
§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 more§fn 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.