pub struct VerticalAlign<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl VerticalAlign<VerticalAlignValue>
impl VerticalAlign<VerticalAlignValue>
pub fn initial() -> Self
pub fn inherit() -> Self
pub fn revert() -> Self
pub fn revert_layer() -> Self
pub fn unset() -> Self
pub fn baseline() -> Self
pub fn sub() -> Self
pub fn keyword_super() -> Self
pub fn text_top() -> Self
pub fn text_bottom() -> Self
pub fn middle() -> Self
pub fn top() -> Self
pub fn bottom() -> Self
Trait Implementations§
Source§impl AbsoluteLengthStorage for VerticalAlign<VerticalAlignValue>
impl AbsoluteLengthStorage for VerticalAlign<VerticalAlignValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl<T> Clone for VerticalAlign<T>
impl<T> Clone for VerticalAlign<T>
Source§fn clone(&self) -> VerticalAlign<T>
fn clone(&self) -> VerticalAlign<T>
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 ContainerLengthStorage for VerticalAlign<VerticalAlignValue>
impl ContainerLengthStorage for VerticalAlign<VerticalAlignValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for VerticalAlign<T>
impl<T> Debug for VerticalAlign<T>
Source§impl Default for VerticalAlign<VerticalAlignValue>
impl Default for VerticalAlign<VerticalAlignValue>
Source§impl<T> Display for VerticalAlign<T>
impl<T> Display for VerticalAlign<T>
Source§impl EmStorage for VerticalAlign<VerticalAlignValue>
impl EmStorage for VerticalAlign<VerticalAlignValue>
Source§impl ExStorage for VerticalAlign<VerticalAlignValue>
impl ExStorage for VerticalAlign<VerticalAlignValue>
Source§impl FontLengthStorage for VerticalAlign<VerticalAlignValue>
impl FontLengthStorage for VerticalAlign<VerticalAlignValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for VerticalAlign<T>
impl<T> From<T> for VerticalAlign<T>
Source§impl<T> From<T> for VerticalAlign<VerticalAlignValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for VerticalAlign<VerticalAlignValue>where
T: Into<LengthPercentage>,
Source§impl IcStorage for VerticalAlign<VerticalAlignValue>
impl IcStorage for VerticalAlign<VerticalAlignValue>
Source§impl LengthPercentageStorage for VerticalAlign<VerticalAlignValue>
impl LengthPercentageStorage for VerticalAlign<VerticalAlignValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl<T> PartialEq for VerticalAlign<T>
impl<T> PartialEq for VerticalAlign<T>
Source§impl<T> Property for VerticalAlign<T>
impl<T> Property for VerticalAlign<T>
Source§fn declaration(&self) -> String
fn declaration(&self) -> String
Returns the stringified property name with its value
as a CSS declaration to be used within a declaration block. Read more
Source§impl<T> PropertyName for VerticalAlign<T>
impl<T> PropertyName for VerticalAlign<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for VerticalAlign<VerticalAlignValue>
impl RelativeLengthStorage for VerticalAlign<VerticalAlignValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for VerticalAlign<VerticalAlignValue>
impl ViewportLengthStorage for VerticalAlign<VerticalAlignValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for VerticalAlign<T>
impl UnitDataType<VerticalAlign<Nothing>> for Nothing
impl<T> UnitDataType<VerticalAlign<Var<T>>> for Var<T>
impl UnitDataType<VerticalAlign<VerticalAlignValue>> for VerticalAlignValue
impl<T> UnitDataTypeContainer<T> for VerticalAlign<T>
Auto Trait Implementations§
impl<T> Freeze for VerticalAlign<T>where
T: Freeze,
impl<T> RefUnwindSafe for VerticalAlign<T>where
T: RefUnwindSafe,
impl<T> Send for VerticalAlign<T>where
T: Send,
impl<T> Sync for VerticalAlign<T>where
T: Sync,
impl<T> Unpin for VerticalAlign<T>where
T: Unpin,
impl<T> UnwindSafe for VerticalAlign<T>where
T: UnwindSafe,
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