pub struct ScaffoldConfig {
pub modifier: Modifier,
pub top_bar: Option<View>,
pub bottom_bar: Option<View>,
pub floating_action_button: Option<View>,
pub snackbar_host: Option<View>,
pub container_color: Color,
pub content_color: Color,
pub fab_position: FabPosition,
}Fields§
§modifier: Modifier§top_bar: Option<View>§bottom_bar: Option<View>§snackbar_host: Option<View>§container_color: Color§content_color: Color§fab_position: FabPositionTrait Implementations§
Source§impl Clone for ScaffoldConfig
impl Clone for ScaffoldConfig
Source§fn clone(&self) -> ScaffoldConfig
fn clone(&self) -> ScaffoldConfig
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ScaffoldConfig
impl !Send for ScaffoldConfig
impl !Sync for ScaffoldConfig
impl !UnwindSafe for ScaffoldConfig
impl Freeze for ScaffoldConfig
impl Unpin for ScaffoldConfig
impl UnsafeUnpin for ScaffoldConfig
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