#[repr(C)]pub struct StyleOpacity {
pub inner: PercentageValue,
}Expand description
Represents an opacity attribute
Fields§
§inner: PercentageValueImplementations§
Trait Implementations§
Source§impl Clone for StyleOpacity
impl Clone for StyleOpacity
Source§fn clone(&self) -> StyleOpacity
fn clone(&self) -> StyleOpacity
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 Debug for StyleOpacity
impl Debug for StyleOpacity
Source§impl Default for StyleOpacity
impl Default for StyleOpacity
Source§impl Display for StyleOpacity
impl Display for StyleOpacity
Source§impl From<StyleOpacity> for CssProperty
impl From<StyleOpacity> for CssProperty
Source§fn from(e: StyleOpacity) -> Self
fn from(e: StyleOpacity) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleOpacity
impl Hash for StyleOpacity
Source§impl Ord for StyleOpacity
impl Ord for StyleOpacity
Source§fn cmp(&self, other: &StyleOpacity) -> Ordering
fn cmp(&self, other: &StyleOpacity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleOpacity
impl PartialEq for StyleOpacity
Source§impl PartialOrd for StyleOpacity
impl PartialOrd for StyleOpacity
Source§impl PrintAsCssValue for StyleOpacity
impl PrintAsCssValue for StyleOpacity
fn print_as_css_value(&self) -> String
impl Copy for StyleOpacity
impl Eq for StyleOpacity
impl StructuralPartialEq for StyleOpacity
Auto Trait Implementations§
impl Freeze for StyleOpacity
impl RefUnwindSafe for StyleOpacity
impl Send for StyleOpacity
impl Sync for StyleOpacity
impl Unpin for StyleOpacity
impl UnwindSafe for StyleOpacity
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