Struct chain_impl_mockchain::fragment::ContentsBuilder
source · pub struct ContentsBuilder {
fragments: Vec<Fragment>,
}
Fields§
§fragments: Vec<Fragment>
Implementations§
Trait Implementations§
source§impl Clone for ContentsBuilder
impl Clone for ContentsBuilder
source§fn clone(&self) -> ContentsBuilder
fn clone(&self) -> ContentsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ContentsBuilder
impl Default for ContentsBuilder
source§fn default() -> ContentsBuilder
fn default() -> ContentsBuilder
Returns the “default value” for a type. Read more
source§impl From<ContentsBuilder> for Contents
impl From<ContentsBuilder> for Contents
source§fn from(content_builder: ContentsBuilder) -> Self
fn from(content_builder: ContentsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ContentsBuilder
impl Send for ContentsBuilder
impl Sync for ContentsBuilder
impl Unpin for ContentsBuilder
impl UnwindSafe for ContentsBuilder
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