pub struct GridAutoColumns<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl GridAutoColumns<GridAutoColumnsValue>
impl GridAutoColumns<GridAutoColumnsValue>
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 fit_content() -> Self
pub fn max_content() -> Self
pub fn min_content() -> Self
Trait Implementations§
Source§impl AbsoluteLengthStorage for GridAutoColumns<GridAutoColumnsValue>
impl AbsoluteLengthStorage for GridAutoColumns<GridAutoColumnsValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl<T> Clone for GridAutoColumns<T>
impl<T> Clone for GridAutoColumns<T>
Source§fn clone(&self) -> GridAutoColumns<T>
fn clone(&self) -> GridAutoColumns<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 GridAutoColumns<GridAutoColumnsValue>
impl ContainerLengthStorage for GridAutoColumns<GridAutoColumnsValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for GridAutoColumns<T>
impl<T> Debug for GridAutoColumns<T>
Source§impl<T> Display for GridAutoColumns<T>
impl<T> Display for GridAutoColumns<T>
Source§impl FontLengthStorage for GridAutoColumns<GridAutoColumnsValue>
impl FontLengthStorage for GridAutoColumns<GridAutoColumnsValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for GridAutoColumns<GridAutoColumnsValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for GridAutoColumns<GridAutoColumnsValue>where
T: Into<LengthPercentage>,
Source§impl<T> From<T> for GridAutoColumns<T>
impl<T> From<T> for GridAutoColumns<T>
Source§impl LengthPercentageStorage for GridAutoColumns<GridAutoColumnsValue>
impl LengthPercentageStorage for GridAutoColumns<GridAutoColumnsValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl<T> PartialEq for GridAutoColumns<T>
impl<T> PartialEq for GridAutoColumns<T>
Source§impl<T> Property for GridAutoColumns<T>
impl<T> Property for GridAutoColumns<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 GridAutoColumns<T>
impl<T> PropertyName for GridAutoColumns<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for GridAutoColumns<GridAutoColumnsValue>
impl RelativeLengthStorage for GridAutoColumns<GridAutoColumnsValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for GridAutoColumns<GridAutoColumnsValue>
impl ViewportLengthStorage for GridAutoColumns<GridAutoColumnsValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for GridAutoColumns<T>
impl UnitDataType<GridAutoColumns<GridAutoColumnsValue>> for GridAutoColumnsValue
impl UnitDataType<GridAutoColumns<Nothing>> for Nothing
impl<T> UnitDataType<GridAutoColumns<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for GridAutoColumns<T>
Auto Trait Implementations§
impl<T> Freeze for GridAutoColumns<T>where
T: Freeze,
impl<T> RefUnwindSafe for GridAutoColumns<T>where
T: RefUnwindSafe,
impl<T> Send for GridAutoColumns<T>where
T: Send,
impl<T> Sync for GridAutoColumns<T>where
T: Sync,
impl<T> Unpin for GridAutoColumns<T>where
T: Unpin,
impl<T> UnwindSafe for GridAutoColumns<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