Struct zvariant::StructureBuilder [−][src]
pub struct StructureBuilder<'a>(_);
Expand description
Use this to efficiently build a Structure
.
Implementations
Append field
to self
.
This method returns Self
so that you can use the builder pattern to create a complex
structure.
Append field
to self
.
Identical to add_field
, except the field must be in the form of a Value
.
Append field
to self
.
Identical to add_field
, except it makes changes in-place.
Append field
to self
.
Identical to append_field
, except it makes changes in-place.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for StructureBuilder<'a>
impl<'a> Send for StructureBuilder<'a>
impl<'a> Sync for StructureBuilder<'a>
impl<'a> Unpin for StructureBuilder<'a>
impl<'a> UnwindSafe for StructureBuilder<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more