pub struct ScaffoldBuilder { /* private fields */ }Expand description
Configuration handle returned by scaffold.
Implementations§
Source§impl ScaffoldBuilder
impl ScaffoldBuilder
Sourcepub fn modifier(&self, value: Modifier) -> Self
pub fn modifier(&self, value: Modifier) -> Self
Configure modifier before this component executes.
Sourcepub fn modifier_optional(&self, value: Option<Modifier>) -> Self
pub fn modifier_optional(&self, value: Option<Modifier>) -> Self
Configure modifier before this component executes.
Sourcepub fn window_insets(&self, value: WindowInsets) -> Self
pub fn window_insets(&self, value: WindowInsets) -> Self
Configure window_insets before this component executes.
Sourcepub fn window_insets_optional(&self, value: Option<WindowInsets>) -> Self
pub fn window_insets_optional(&self, value: Option<WindowInsets>) -> Self
Configure window_insets before this component executes.
Sourcepub fn container_color(&self, value: Color) -> Self
pub fn container_color(&self, value: Color) -> Self
Configure container_color before this component executes.
Sourcepub fn container_color_optional(&self, value: Option<Color>) -> Self
pub fn container_color_optional(&self, value: Option<Color>) -> Self
Configure container_color before this component executes.
Sourcepub fn content_padding(&self, value: Padding) -> Self
pub fn content_padding(&self, value: Padding) -> Self
Configure content_padding before this component executes.
Sourcepub fn content_padding_optional(&self, value: Option<Padding>) -> Self
pub fn content_padding_optional(&self, value: Option<Padding>) -> Self
Configure content_padding before this component executes.
Sourcepub fn content<F, Output>(&self, value: F) -> Self
pub fn content<F, Output>(&self, value: F) -> Self
Configure content before this component executes.
Configure content before this component executes.
Sourcepub fn content_optional(&self, value: Option<RenderSlot>) -> Self
pub fn content_optional(&self, value: Option<RenderSlot>) -> Self
Configure content before this component executes.
Sourcepub fn top_bar<F, Output>(&self, value: F) -> Self
pub fn top_bar<F, Output>(&self, value: F) -> Self
Configure top_bar before this component executes.
Configure top_bar before this component executes.
Sourcepub fn top_bar_optional(&self, value: Option<RenderSlot>) -> Self
pub fn top_bar_optional(&self, value: Option<RenderSlot>) -> Self
Configure top_bar before this component executes.
Sourcepub fn bottom_bar<F, Output>(&self, value: F) -> Self
pub fn bottom_bar<F, Output>(&self, value: F) -> Self
Configure bottom_bar before this component executes.
Configure bottom_bar before this component executes.
Sourcepub fn bottom_bar_optional(&self, value: Option<RenderSlot>) -> Self
pub fn bottom_bar_optional(&self, value: Option<RenderSlot>) -> Self
Configure bottom_bar before this component executes.
Configure floating_action_button before this component executes.
Configure floating_action_button before this component executes.
Configure floating_action_button before this component executes.
Configure floating_action_button_alignment before this component executes.
Configure floating_action_button_alignment before this component executes.
Configure floating_action_button_offset before this component executes.
Configure floating_action_button_offset before this component executes.
Sourcepub fn snackbar_host<F, Output>(&self, value: F) -> Self
pub fn snackbar_host<F, Output>(&self, value: F) -> Self
Configure snackbar_host before this component executes.
Configure snackbar_host before this component executes.
Sourcepub fn snackbar_host_optional(&self, value: Option<RenderSlot>) -> Self
pub fn snackbar_host_optional(&self, value: Option<RenderSlot>) -> Self
Configure snackbar_host before this component executes.
Sourcepub fn snackbar_alignment(&self, value: Alignment) -> Self
pub fn snackbar_alignment(&self, value: Alignment) -> Self
Configure snackbar_alignment before this component executes.
Sourcepub fn snackbar_alignment_optional(&self, value: Option<Alignment>) -> Self
pub fn snackbar_alignment_optional(&self, value: Option<Alignment>) -> Self
Configure snackbar_alignment before this component executes.
Sourcepub fn snackbar_offset(&self, value: [Dp; 2]) -> Self
pub fn snackbar_offset(&self, value: [Dp; 2]) -> Self
Configure snackbar_offset before this component executes.
Sourcepub fn snackbar_offset_optional(&self, value: Option<[Dp; 2]>) -> Self
pub fn snackbar_offset_optional(&self, value: Option<[Dp; 2]>) -> Self
Configure snackbar_offset before this component executes.
Auto Trait Implementations§
impl Freeze for ScaffoldBuilder
impl RefUnwindSafe for ScaffoldBuilder
impl Send for ScaffoldBuilder
impl Sync for ScaffoldBuilder
impl Unpin for ScaffoldBuilder
impl UnsafeUnpin for ScaffoldBuilder
impl UnwindSafe for ScaffoldBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.