pub enum UnionMode {
Sparse,
Dense,
}
Expand description
Sparse or Dense union layouts
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnionMode
impl<'de> Deserialize<'de> for UnionMode
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 Ord for UnionMode
impl Ord for UnionMode
Source§impl PartialOrd for UnionMode
impl PartialOrd for UnionMode
impl Copy for UnionMode
impl Eq for UnionMode
impl StructuralPartialEq for UnionMode
Auto Trait Implementations§
impl Freeze for UnionMode
impl RefUnwindSafe for UnionMode
impl Send for UnionMode
impl Sync for UnionMode
impl Unpin for UnionMode
impl UnwindSafe for UnionMode
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