#[repr(C)]pub enum GeckoDisplayListType {
None,
Partial(f64),
Full(f64),
}
Variants§
Trait Implementations§
source§impl Clone for GeckoDisplayListType
impl Clone for GeckoDisplayListType
source§fn clone(&self) -> GeckoDisplayListType
fn clone(&self) -> GeckoDisplayListType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GeckoDisplayListType
impl Default for GeckoDisplayListType
source§impl<'de> Deserialize<'de> for GeckoDisplayListType
impl<'de> Deserialize<'de> for GeckoDisplayListType
source§fn 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
source§impl Serialize for GeckoDisplayListType
impl Serialize for GeckoDisplayListType
impl Copy for GeckoDisplayListType
Auto Trait Implementations§
impl Freeze for GeckoDisplayListType
impl RefUnwindSafe for GeckoDisplayListType
impl Send for GeckoDisplayListType
impl Sync for GeckoDisplayListType
impl Unpin for GeckoDisplayListType
impl UnwindSafe for GeckoDisplayListType
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