pub enum LayoutClass<'a> {
Show 74 variants
MaxWidth(&'a str),
MinCellWidth(&'a str),
MinCols(&'a str),
MaxCols(&'a str),
Recursive,
Screen,
TwinWidth,
NoWrap,
HideBar,
AndText,
Grow,
Gap(&'a str),
GapX(&'a str),
GapY(&'a str),
GapDir(&'a str),
Scale(&'a str),
Align(&'a str),
Position(&'a str),
Top(&'a str),
Bottom(&'a str),
Left(&'a str),
Right(&'a str),
Height(&'a str),
ItemWidth(&'a str),
MinHeight(&'a str),
MaxHeight(&'a str),
SideWidth(&'a str),
Side(&'a str),
ContentMin(&'a str),
Threshold(&'a str),
Limit(&'a str),
KeepP,
KeepPL,
KeepPR,
KeepCenter,
Shrink,
Cols(&'a str),
Rows(&'a str),
AlignSelf(&'a str),
BgImg(&'a str),
FlexBasis(&'a str),
FlexGrow(&'a str),
FlexShrink(&'a str),
FontSize(&'a str),
H(&'a str),
HideOver(&'a str),
HideUnder(&'a str),
LineHeight(&'a str),
Justify(&'a str),
P(&'a str),
PT(&'a str),
PB(&'a str),
PL(&'a str),
PR(&'a str),
PX(&'a str),
PY(&'a str),
PChild(&'a str),
PTChild(&'a str),
PBChild(&'a str),
PLChild(&'a str),
PRChild(&'a str),
PXChild(&'a str),
PYChild(&'a str),
PRecursive(&'a str),
PTRecursive(&'a str),
PBRecursive(&'a str),
PLRecursive(&'a str),
PRRecursive(&'a str),
PXRecursive(&'a str),
PYRecursive(&'a str),
Ratio(&'a str),
Relative,
W(&'a str),
ZIndex(&'a str),
}
Variants§
MaxWidth(&'a str)
MinCellWidth(&'a str)
MinCols(&'a str)
MaxCols(&'a str)
Recursive
Screen
TwinWidth
NoWrap
HideBar
AndText
Grow
Gap(&'a str)
GapX(&'a str)
GapY(&'a str)
GapDir(&'a str)
Scale(&'a str)
Align(&'a str)
Position(&'a str)
Top(&'a str)
Bottom(&'a str)
Left(&'a str)
Right(&'a str)
Height(&'a str)
ItemWidth(&'a str)
MinHeight(&'a str)
MaxHeight(&'a str)
SideWidth(&'a str)
Side(&'a str)
ContentMin(&'a str)
Threshold(&'a str)
Limit(&'a str)
KeepP
KeepPL
KeepPR
KeepCenter
Shrink
Cols(&'a str)
Rows(&'a str)
AlignSelf(&'a str)
BgImg(&'a str)
FlexBasis(&'a str)
FlexGrow(&'a str)
FlexShrink(&'a str)
FontSize(&'a str)
H(&'a str)
HideOver(&'a str)
HideUnder(&'a str)
LineHeight(&'a str)
Justify(&'a str)
P(&'a str)
PT(&'a str)
PB(&'a str)
PL(&'a str)
PR(&'a str)
PX(&'a str)
PY(&'a str)
PChild(&'a str)
PTChild(&'a str)
PBChild(&'a str)
PLChild(&'a str)
PRChild(&'a str)
PXChild(&'a str)
PYChild(&'a str)
PRecursive(&'a str)
PTRecursive(&'a str)
PBRecursive(&'a str)
PLRecursive(&'a str)
PRRecursive(&'a str)
PXRecursive(&'a str)
PYRecursive(&'a str)
Ratio(&'a str)
Relative
W(&'a str)
ZIndex(&'a str)
Implementations§
Source§impl<'a> LayoutClass<'a>
impl<'a> LayoutClass<'a>
Sourcepub fn insert_css(self, harmonic_ratio: f64, set: &mut HashSet<String>)
pub fn insert_css(self, harmonic_ratio: f64, set: &mut HashSet<String>)
Generate the css of the layout class which are utilities and insert it inside the Hashset passed. This method consumes the LayoutClass, because we dont need it anymore after we get the css.
Trait Implementations§
Source§impl<'a> Debug for LayoutClass<'a>
impl<'a> Debug for LayoutClass<'a>
Source§impl<'a> Hash for LayoutClass<'a>
impl<'a> Hash for LayoutClass<'a>
Source§impl<'a> PartialEq for LayoutClass<'a>
impl<'a> PartialEq for LayoutClass<'a>
Source§impl<'a> TryFrom<&'a str> for LayoutClass<'a>
impl<'a> TryFrom<&'a str> for LayoutClass<'a>
impl<'a> Eq for LayoutClass<'a>
impl<'a> StructuralPartialEq for LayoutClass<'a>
Auto Trait Implementations§
impl<'a> Freeze for LayoutClass<'a>
impl<'a> RefUnwindSafe for LayoutClass<'a>
impl<'a> Send for LayoutClass<'a>
impl<'a> Sync for LayoutClass<'a>
impl<'a> Unpin for LayoutClass<'a>
impl<'a> UnwindSafe for LayoutClass<'a>
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