pub struct Opacity<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl AlphaStorage for Opacity<OpacityValue>
impl AlphaStorage for Opacity<OpacityValue>
Source§impl Default for Opacity<OpacityValue>
impl Default for Opacity<OpacityValue>
Source§impl<T> From<T> for Opacity<OpacityValue>
impl<T> From<T> for Opacity<OpacityValue>
Source§impl NumberStorage for Opacity<OpacityValue>
impl NumberStorage for Opacity<OpacityValue>
Source§impl PercentageStorage for Opacity<OpacityValue>
impl PercentageStorage for Opacity<OpacityValue>
Source§impl<T> Property for Opacity<T>
impl<T> Property for Opacity<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 Opacity<T>
impl<T> PropertyName for Opacity<T>
fn property_name<'a>(&self) -> &'a str
impl<T> StructuralPartialEq for Opacity<T>
impl UnitDataType<Opacity<Nothing>> for Nothing
impl UnitDataType<Opacity<OpacityValue>> for OpacityValue
impl<T> UnitDataType<Opacity<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for Opacity<T>
Auto Trait Implementations§
impl<T> Freeze for Opacity<T>where
T: Freeze,
impl<T> RefUnwindSafe for Opacity<T>where
T: RefUnwindSafe,
impl<T> Send for Opacity<T>where
T: Send,
impl<T> Sync for Opacity<T>where
T: Sync,
impl<T> Unpin for Opacity<T>where
T: Unpin,
impl<T> UnwindSafe for Opacity<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