pub struct ContextBlockBuilder {
pub elements: Vec<MixedElement>,
pub block_id: Option<String>,
}Fields§
§elements: Vec<MixedElement>§block_id: Option<String>Implementations§
Source§impl ContextBlockBuilder
impl ContextBlockBuilder
pub fn new(elements: Vec<MixedElement>) -> ContextBlockBuilder
pub fn block_id(self, block_id: String) -> ContextBlockBuilder
pub fn build(self) -> ContextBlock
Trait Implementations§
Source§impl Debug for ContextBlockBuilder
impl Debug for ContextBlockBuilder
Source§impl Default for ContextBlockBuilder
impl Default for ContextBlockBuilder
Source§fn default() -> ContextBlockBuilder
fn default() -> ContextBlockBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextBlockBuilder
impl RefUnwindSafe for ContextBlockBuilder
impl Send for ContextBlockBuilder
impl Sync for ContextBlockBuilder
impl Unpin for ContextBlockBuilder
impl UnwindSafe for ContextBlockBuilder
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