#[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