Struct zvariant::Array [−][src]
pub struct Array<'a> { /* fields omitted */ }
Expand description
Implementations
Create a new empty Array
, given the signature of the elements.
Append element
.
Errors
if element
’s signature doesn’t match the element signature self
was created for.
Get the signature of this Array
.
NB: This method potentially allocates and copies. Use full_signature
if you’d like to
avoid that.
Get the signature of this Array
.
Get the signature of the elements in the Array
.
Trait Implementations
type Deserializer = ArraySeed<'a>
type Deserializer = ArraySeed<'a>
A DeserializeSeed implementation for this type.
fn deserializer_for_signature<S>(signature: S) -> Result<Self::Deserializer> where
S: TryInto<Signature<'a>>,
S::Error: Into<Error>,
fn deserializer_for_signature<S>(signature: S) -> Result<Self::Deserializer> where
S: TryInto<Signature<'a>>,
S::Error: Into<Error>,
Get a deserializer compatible with this signature.
Get the signature for the implementing type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Array<'a>
impl<'a> UnwindSafe for Array<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more