#[non_exhaustive]pub enum LayerBody {
Gross,
Net(NetOptions),
}Expand description
Which Body is split.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Gross
The gross Body. The default, as everywhere (ADR 0014).
Net(NetOptions)
The Body with every voiding opening subtracted, on explicit request.
Trait Implementations§
impl Copy for LayerBody
impl Eq for LayerBody
impl StructuralPartialEq for LayerBody
Auto Trait Implementations§
impl Freeze for LayerBody
impl RefUnwindSafe for LayerBody
impl Send for LayerBody
impl Sync for LayerBody
impl Unpin for LayerBody
impl UnsafeUnpin for LayerBody
impl UnwindSafe for LayerBody
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