pub struct PanelLayout {
pub id: String,
pub anchor: Anchor,
pub transform: Transform3,
}Expand description
A single anchored panel in a spatial layout.
Fields§
§id: StringStable panel id.
anchor: AnchorPose-free anchor for the panel.
transform: Transform3Static transform applied at render time.
Trait Implementations§
Source§impl Clone for PanelLayout
impl Clone for PanelLayout
Source§fn clone(&self) -> PanelLayout
fn clone(&self) -> PanelLayout
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 PanelLayout
impl Debug for PanelLayout
Source§impl Default for PanelLayout
impl Default for PanelLayout
Source§impl PartialEq for PanelLayout
impl PartialEq for PanelLayout
impl StructuralPartialEq for PanelLayout
Auto Trait Implementations§
impl Freeze for PanelLayout
impl RefUnwindSafe for PanelLayout
impl Send for PanelLayout
impl Sync for PanelLayout
impl Unpin for PanelLayout
impl UnsafeUnpin for PanelLayout
impl UnwindSafe for PanelLayout
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