#[non_exhaustive]pub enum BorderImage {
None,
Repeat,
Round,
Space,
Stretch,
Url(Url),
Raw(Raw),
}Expand description
A value of border-image.
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.
None
none.
Repeat
repeat.
Round
round.
Space
space.
Stretch
stretch.
Url(Url)
A URL.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BorderImage
impl Clone for BorderImage
Source§fn clone(&self) -> BorderImage
fn clone(&self) -> BorderImage
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 BorderImage
impl Debug for BorderImage
Source§impl Display for BorderImage
impl Display for BorderImage
Source§impl From<Raw> for BorderImage
impl From<Raw> for BorderImage
Source§impl From<Url> for BorderImage
impl From<Url> for BorderImage
Source§impl PartialEq for BorderImage
impl PartialEq for BorderImage
impl StructuralPartialEq for BorderImage
Auto Trait Implementations§
impl Freeze for BorderImage
impl RefUnwindSafe for BorderImage
impl Send for BorderImage
impl Sync for BorderImage
impl Unpin for BorderImage
impl UnsafeUnpin for BorderImage
impl UnwindSafe for BorderImage
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