pub enum Image<'a> {
Url(Url),
Gradient(Gradient<'a>),
}Expand description
https://drafts.csswg.org/css-images-3/#typedef-image
<image> = <url> | <gradient>Variants§
Trait Implementations§
Source§impl<'a> Ord for Image<'a>
impl<'a> Ord for Image<'a>
Source§impl<'a> PartialOrd for Image<'a>
impl<'a> PartialOrd for Image<'a>
Source§impl<'a> ToCursors for Image<'a>
impl<'a> ToCursors for Image<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for Image<'a>
impl<'a> StructuralPartialEq for Image<'a>
Auto Trait Implementations§
impl<'a> Freeze for Image<'a>
impl<'a> !RefUnwindSafe for Image<'a>
impl<'a> !Send for Image<'a>
impl<'a> !Sync for Image<'a>
impl<'a> Unpin for Image<'a>
impl<'a> !UnwindSafe for Image<'a>
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