pub struct EuvFeatureGridProps {
pub features: &'static [EuvFeature],
}Expand description
Props for the euv_feature_grid component.
Fields§
§features: &'static [EuvFeature]The feature cards (skipped when empty).
Implementations§
Source§impl EuvFeatureGridProps
impl EuvFeatureGridProps
pub fn get_features(&self) -> &'static [EuvFeature]
pub fn get_mut_features(&mut self) -> &mut &'static [EuvFeature]
pub fn set_features(&mut self, val: &'static [EuvFeature]) -> &mut Self
Source§impl EuvFeatureGridProps
impl EuvFeatureGridProps
pub fn new(features: &'static [EuvFeature]) -> Self
Trait Implementations§
Source§impl Clone for EuvFeatureGridProps
impl Clone for EuvFeatureGridProps
Source§fn clone(&self) -> EuvFeatureGridProps
fn clone(&self) -> EuvFeatureGridProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EuvFeatureGridProps
Source§impl Debug for EuvFeatureGridProps
impl Debug for EuvFeatureGridProps
Source§impl Default for EuvFeatureGridProps
impl Default for EuvFeatureGridProps
Source§fn default() -> EuvFeatureGridProps
fn default() -> EuvFeatureGridProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EuvFeatureGridProps
impl RefUnwindSafe for EuvFeatureGridProps
impl Send for EuvFeatureGridProps
impl Sync for EuvFeatureGridProps
impl Unpin for EuvFeatureGridProps
impl UnsafeUnpin for EuvFeatureGridProps
impl UnwindSafe for EuvFeatureGridProps
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