pub struct ContainerBuilder { /* private fields */ }Expand description
Builder for Container object.
Implementations§
Source§impl ContainerBuilder
impl ContainerBuilder
Sourcepub fn get_child_blocks(&self) -> Option<&[ContainerChildBlock]>
pub fn get_child_blocks(&self) -> Option<&[ContainerChildBlock]>
get child_blocks field value.
Sourcepub fn set_child_blocks<Iter, Inner>(self, value: Option<Iter>) -> Self
pub fn set_child_blocks<Iter, Inner>(self, value: Option<Iter>) -> Self
set child_blocks field value.
Sourcepub fn child_blocks<Iter, Inner>(self, value: Iter) -> Self
pub fn child_blocks<Iter, Inner>(self, value: Iter) -> Self
set child_blocks field value.
Sourcepub fn child_block(self, value: impl Into<ContainerChildBlock>) -> Self
pub fn child_block(self, value: impl Into<ContainerChildBlock>) -> Self
push list element to child_blocks field.
Sourcepub fn get_block_id(&self) -> Option<&String>
pub fn get_block_id(&self) -> Option<&String>
get block_id field value.
Sourcepub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
set block_id field value.
Sourcepub fn get_width(&self) -> Option<&ContainerWidth>
pub fn get_width(&self) -> Option<&ContainerWidth>
get width field value.
Sourcepub fn set_width(self, value: Option<impl Into<ContainerWidth>>) -> Self
pub fn set_width(self, value: Option<impl Into<ContainerWidth>>) -> Self
set width field value.
Sourcepub fn width(self, value: impl Into<ContainerWidth>) -> Self
pub fn width(self, value: impl Into<ContainerWidth>) -> Self
set width field value.
Sourcepub fn get_subtitle(&self) -> Option<&Text>
pub fn get_subtitle(&self) -> Option<&Text>
get subtitle field value.
Sourcepub fn set_subtitle(self, value: Option<impl Into<Text>>) -> Self
pub fn set_subtitle(self, value: Option<impl Into<Text>>) -> Self
set subtitle field value.
Sourcepub fn get_is_collapsible(&self) -> Option<bool>
pub fn get_is_collapsible(&self) -> Option<bool>
get is_collapsible field value.
Sourcepub fn set_is_collapsible(self, value: Option<impl Into<bool>>) -> Self
pub fn set_is_collapsible(self, value: Option<impl Into<bool>>) -> Self
set is_collapsible field value.
Sourcepub fn is_collapsible(self, value: impl Into<bool>) -> Self
pub fn is_collapsible(self, value: impl Into<bool>) -> Self
set is_collapsible field value.
Sourcepub fn get_default_collapsed(&self) -> Option<bool>
pub fn get_default_collapsed(&self) -> Option<bool>
get default_collapsed field value.
Sourcepub fn set_default_collapsed(self, value: Option<impl Into<bool>>) -> Self
pub fn set_default_collapsed(self, value: Option<impl Into<bool>>) -> Self
set default_collapsed field value.
Sourcepub fn default_collapsed(self, value: impl Into<bool>) -> Self
pub fn default_collapsed(self, value: impl Into<bool>) -> Self
set default_collapsed field value.
Trait Implementations§
Source§impl Debug for ContainerBuilder
impl Debug for ContainerBuilder
Auto Trait Implementations§
impl Freeze for ContainerBuilder
impl RefUnwindSafe for ContainerBuilder
impl Send for ContainerBuilder
impl Sync for ContainerBuilder
impl Unpin for ContainerBuilder
impl UnsafeUnpin for ContainerBuilder
impl UnwindSafe for ContainerBuilder
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