#[non_exhaustive]pub enum BorderImageSource {
None,
Url(Url),
Raw(Raw),
}Expand description
A value of border-image-source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for BorderImageSource
impl Clone for BorderImageSource
Source§fn clone(&self) -> BorderImageSource
fn clone(&self) -> BorderImageSource
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 moreSource§impl Debug for BorderImageSource
impl Debug for BorderImageSource
Source§impl Display for BorderImageSource
impl Display for BorderImageSource
Source§impl From<Raw> for BorderImageSource
impl From<Raw> for BorderImageSource
Source§impl From<Url> for BorderImageSource
impl From<Url> for BorderImageSource
Source§impl PartialEq for BorderImageSource
impl PartialEq for BorderImageSource
impl StructuralPartialEq for BorderImageSource
Auto Trait Implementations§
impl Freeze for BorderImageSource
impl RefUnwindSafe for BorderImageSource
impl Send for BorderImageSource
impl Sync for BorderImageSource
impl Unpin for BorderImageSource
impl UnsafeUnpin for BorderImageSource
impl UnwindSafe for BorderImageSource
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