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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more