pub struct GroupLayout { /* private fields */ }Expand description
Describes the layout of the component groups that can be set on a
World.
Implementations§
Source§impl GroupLayout
impl GroupLayout
Sourcepub fn add_group<G>(&mut self)where
G: GroupDescriptor,
pub fn add_group<G>(&mut self)where
G: GroupDescriptor,
Adds a new group to the layout.
Sourcepub fn add_group_dyn(&mut self, components: &[ComponentData])
pub fn add_group_dyn(&mut self, components: &[ComponentData])
Adds a new group to the layout.
Trait Implementations§
Source§impl Clone for GroupLayout
impl Clone for GroupLayout
Source§fn clone(&self) -> GroupLayout
fn clone(&self) -> GroupLayout
Returns a duplicate of the value. Read more
1.0.0 · 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 GroupLayout
impl Debug for GroupLayout
Source§impl Default for GroupLayout
impl Default for GroupLayout
Source§fn default() -> GroupLayout
fn default() -> GroupLayout
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GroupLayout
impl !RefUnwindSafe for GroupLayout
impl Send for GroupLayout
impl Sync for GroupLayout
impl Unpin for GroupLayout
impl !UnwindSafe for GroupLayout
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