pub enum LayerInstance {
Sole,
Tagged,
}Expand description
Whether a format layer is the sole instance or needs its carrier identity.
Variants§
Sole
The host contains one layer of this format.
Tagged
The host contains several layers and the carrier disambiguates this one.
Trait Implementations§
Source§impl Clone for LayerInstance
impl Clone for LayerInstance
impl Copy for LayerInstance
Source§impl Debug for LayerInstance
impl Debug for LayerInstance
impl Eq for LayerInstance
Source§impl PartialEq for LayerInstance
impl PartialEq for LayerInstance
impl StructuralPartialEq for LayerInstance
Auto Trait Implementations§
impl Freeze for LayerInstance
impl RefUnwindSafe for LayerInstance
impl Send for LayerInstance
impl Sync for LayerInstance
impl Unpin for LayerInstance
impl UnsafeUnpin for LayerInstance
impl UnwindSafe for LayerInstance
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