pub struct StackBuilder<'a> { /* private fields */ }
Expand description
Fluent builder for stack groups.
Implementations§
Source§impl<'a> StackBuilder<'a>
impl<'a> StackBuilder<'a>
Sourcepub fn contents<F>(self, f: F) -> GroupIdwhere
F: FnMut(&mut SceneBuilder),
pub fn contents<F>(self, f: F) -> GroupIdwhere
F: FnMut(&mut SceneBuilder),
Create the stack group, with contents provided by
f
.
Sourcepub fn contents_with_member_data<F>(
self,
member_data: Option<GroupMemberData>,
f: F,
) -> GroupIdwhere
F: FnMut(&mut SceneBuilder),
pub fn contents_with_member_data<F>(
self,
member_data: Option<GroupMemberData>,
f: F,
) -> GroupIdwhere
F: FnMut(&mut SceneBuilder),
Create the stack group with member data, with contents provided by
f
.
Auto Trait Implementations§
impl<'a> Freeze for StackBuilder<'a>
impl<'a> !RefUnwindSafe for StackBuilder<'a>
impl<'a> !Send for StackBuilder<'a>
impl<'a> !Sync for StackBuilder<'a>
impl<'a> Unpin for StackBuilder<'a>
impl<'a> !UnwindSafe for StackBuilder<'a>
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