Struct parcel_css::properties::border::BorderShorthand
source · [−]pub struct BorderShorthand {
pub width: Option<BorderSideWidth>,
pub style: Option<BorderStyle>,
pub color: Option<CssColor>,
}
Fields
width: Option<BorderSideWidth>
style: Option<BorderStyle>
color: Option<CssColor>
Implementations
Trait Implementations
sourceimpl Debug for BorderShorthand
impl Debug for BorderShorthand
sourceimpl Default for BorderShorthand
impl Default for BorderShorthand
sourcefn default() -> BorderShorthand
fn default() -> BorderShorthand
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BorderShorthand> for BorderShorthand
impl PartialEq<BorderShorthand> for BorderShorthand
sourcefn eq(&self, other: &BorderShorthand) -> bool
fn eq(&self, other: &BorderShorthand) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BorderShorthand) -> bool
fn ne(&self, other: &BorderShorthand) -> bool
This method tests for !=
.
impl StructuralPartialEq for BorderShorthand
Auto Trait Implementations
impl RefUnwindSafe for BorderShorthand
impl Send for BorderShorthand
impl Sync for BorderShorthand
impl Unpin for BorderShorthand
impl UnwindSafe for BorderShorthand
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more