pub struct AlignSelf<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl AlignSelf<AlignSelfValue>
impl AlignSelf<AlignSelfValue>
pub fn initial() -> Self
pub fn inherit() -> Self
pub fn revert() -> Self
pub fn revert_layer() -> Self
pub fn unset() -> Self
pub fn auto() -> Self
pub fn normal() -> Self
pub fn stretch() -> Self
pub fn first() -> Self
pub fn last() -> Self
pub fn baseline() -> Self
pub fn safe() -> Self
pub fn unsafe() -> Self
pub fn center() -> Self
pub fn start() -> Self
pub fn end() -> Self
pub fn self_start() -> Self
pub fn self_end() -> Self
pub fn flex_start() -> Self
pub fn flex_end() -> Self
Trait Implementations§
Source§impl Default for AlignSelf<AlignSelfValue>
impl Default for AlignSelf<AlignSelfValue>
Source§impl<T> Property for AlignSelf<T>
impl<T> Property for AlignSelf<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 AlignSelf<T>
impl<T> PropertyName for AlignSelf<T>
fn property_name<'a>(&self) -> &'a str
impl<T> StructuralPartialEq for AlignSelf<T>
impl UnitDataType<AlignSelf<AlignSelfValue>> for AlignSelfValue
impl UnitDataType<AlignSelf<Nothing>> for Nothing
impl<T> UnitDataType<AlignSelf<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for AlignSelf<T>
Auto Trait Implementations§
impl<T> Freeze for AlignSelf<T>where
T: Freeze,
impl<T> RefUnwindSafe for AlignSelf<T>where
T: RefUnwindSafe,
impl<T> Send for AlignSelf<T>where
T: Send,
impl<T> Sync for AlignSelf<T>where
T: Sync,
impl<T> Unpin for AlignSelf<T>where
T: Unpin,
impl<T> UnwindSafe for AlignSelf<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