pub enum Loading {
Lazy,
Eager,
}
Expand description
https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attributes
Variants
Lazy
Eager
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Loading
impl<'de> Deserialize<'de> for Loading
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Loading> for Loading
impl PartialEq<Loading> for Loading
impl StructuralPartialEq for Loading
Auto Trait Implementations
impl RefUnwindSafe for Loading
impl Send for Loading
impl Sync for Loading
impl Unpin for Loading
impl UnwindSafe for Loading
Blanket Implementations
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