#[non_exhaustive]pub struct LayeredLowering {
pub body: NodeId,
pub net: Option<NetLowering>,
pub parts: Vec<Option<NodeId>>,
}Expand description
A Body split by a LayerCut.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.body: NodeIdThe Body that was split, in world space: the gross Body, or the net
root for LayerBody::Net.
net: Option<NetLowering>The net lowering behind body, for LayerBody::Net.
parts: Vec<Option<NodeId>>One entry per layer, in world space; None for a zero-thick layer.
Trait Implementations§
Source§impl Clone for LayeredLowering
impl Clone for LayeredLowering
Source§fn clone(&self) -> LayeredLowering
fn clone(&self) -> LayeredLowering
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayeredLowering
impl Debug for LayeredLowering
impl Eq for LayeredLowering
Source§impl PartialEq for LayeredLowering
impl PartialEq for LayeredLowering
impl StructuralPartialEq for LayeredLowering
Auto Trait Implementations§
impl Freeze for LayeredLowering
impl RefUnwindSafe for LayeredLowering
impl Send for LayeredLowering
impl Sync for LayeredLowering
impl Unpin for LayeredLowering
impl UnsafeUnpin for LayeredLowering
impl UnwindSafe for LayeredLowering
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