pub struct Panel {
pub kind: PanelKind,
pub corners: Vec<RoofVertexId>,
}Expand description
One flat plane of roof.
Fields§
§kind: PanelKindWhat part of the roof this is.
corners: Vec<RoofVertexId>The panel’s corners, in order, as indices into Roof::verts.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Panel
impl<'de> Deserialize<'de> for Panel
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
impl StructuralPartialEq for Panel
Auto Trait Implementations§
impl Freeze for Panel
impl RefUnwindSafe for Panel
impl Send for Panel
impl Sync for Panel
impl Unpin for Panel
impl UnsafeUnpin for Panel
impl UnwindSafe for Panel
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