Struct wireplumber::spa::json::SpaJson
source · pub struct SpaJson { /* private fields */ }
Available on crate feature
v0_4_8
only.Expand description
GLib type: Shared boxed type with reference counted clone semantics.
Implementations§
source§impl SpaJson
impl SpaJson
pub fn new_boolean(value: bool) -> SpaJson
pub fn new_float(value: f32) -> SpaJson
pub fn new_int(value: i32) -> SpaJson
pub fn new_null() -> SpaJson
pub fn new_string(value: &str) -> SpaJson
pub fn copy(&self) -> SpaJson
pub fn ensure_unique_owner(self) -> SpaJson
pub fn size(&self) -> usize
pub fn is_array(&self) -> bool
pub fn is_boolean(&self) -> bool
pub fn is_float(&self) -> bool
pub fn is_int(&self) -> bool
pub fn is_null(&self) -> bool
pub fn is_object(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_unique_owner(&self) -> bool
pub fn new_iterator(&self) -> Iterator ⓘ
pub fn parse_boolean(&self) -> Option<bool>
pub fn parse_float(&self) -> Option<f32>
pub fn parse_int(&self) -> Option<i32>
pub fn parse_string(&self) -> GString
source§impl SpaJson
impl SpaJson
pub fn new_array<T, I: IntoIterator<Item = T>>(items: I) -> Selfwhere
SpaJsonBuilder: Extend<T>,
pub fn new_object<T, K: AsRef<str>, I: IntoIterator<Item = (K, T)>>(
props: I
) -> Selfwhere
SpaJsonBuilder: Extend<T>,
pub fn try_from_variant(variant: &Variant) -> Result<Self, BuildError>
source§impl SpaJson
impl SpaJson
pub fn deserialize_from_str<'a, T: Deserialize<'a>>( s: &'a str ) -> Result<T, Error>
Available on crate features
serde
and v0_4_10
only.pub fn deserialize_from_gstr<'a, T: Deserialize<'a>>( s: &'a GStr ) -> Result<T, Error>
Available on crate feature
serde
only.pub fn deserialize_from_string<'a, T: Deserialize<'a>>( s: &str ) -> Result<T, Error>
Available on crate feature
serde
only.pub fn deserialize_to<'a, T: Deserialize<'a>>(&'a self) -> Result<T, Error>
Available on crate feature
serde
only.source§impl SpaJson
impl SpaJson
pub fn from_string(json: &str) -> Self
pub unsafe fn wrap_string(json: &str) -> Self
pub unsafe fn wrap_gstr(json: &GStr) -> Self
pub unsafe fn wrap(spa: NonNull<spa_json>) -> Self
pub fn make_unique(&mut self)
pub fn parse_str(&self) -> Cow<'_, str>
pub fn parse_str_ptr(&self) -> Option<*const str>
pub fn spa_json(&self) -> *const spa_json
pub fn borrow<'a>(&'a self) -> &'a SpaJsonRef<'a>
pub fn data(&self) -> *const str
pub unsafe fn data_unchecked(&self) -> &str
pub fn get_data(&mut self) -> &str
pub fn run_with_data<R, F: FnOnce(&str) -> R>(&self, f: F) -> R
pub fn parse_with_str<R, F: FnOnce(Cow<'_, str>) -> R>(&self, f: F) -> Option<R>
pub fn to_string(&self) -> String
pub fn to_gstring(&self) -> GString
pub fn parse_char(&self) -> Result<char, ParseError>
pub fn parse_null(&self) -> Option<()>
pub fn parse_array<'a>(&'a self) -> Option<SpaJsonParserRef<'a, 'a>>
pub fn parse_object<'a>(&'a self) -> Option<SpaJsonObjectParser<'a, 'a>>
pub fn parse_values(&self) -> ValueIterator<SpaJson> ⓘ
pub fn parse_variant(&self) -> Result<Variant, ParseError>
pub fn check_parse(&self) -> Result<(), ParseError>
pub fn spa_type(&self) -> Result<SpaType, ParseError>
Trait Implementations§
source§impl<'j> AsRef<SpaJsonRef<'j>> for &'j SpaJson
impl<'j> AsRef<SpaJsonRef<'j>> for &'j SpaJson
source§fn as_ref(&self) -> &SpaJsonRef<'j>
fn as_ref(&self) -> &SpaJsonRef<'j>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'de> Deserialize<'de> for SpaJson
impl<'de> Deserialize<'de> for SpaJson
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl<'de> Deserializer<'de> for &'de SpaJson
impl<'de> Deserializer<'de> for &'de SpaJson
§type Error = ParseError
type Error = ParseError
The error type that can be returned if some error occurs during
deserialization.
source§fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Require the
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moresource§fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bool<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a bool
value.source§fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i8
value.source§fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i16
value.source§fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i32
value.source§fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i64
value.source§fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u8
value.source§fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u16
value.source§fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u32
value.source§fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u64
value.source§fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f32
value.source§fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f64
value.source§fn deserialize_char<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_char<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a char
value.source§fn deserialize_str<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_str<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_string<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_bytes<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bytes<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_byte_buf<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_byte_buf<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_option<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an optional value. Read moresource§fn deserialize_unit<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit value.source§fn deserialize_unit_struct<V: Visitor<'de>>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit_struct<V: Visitor<'de>>( self, name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit struct with a
particular name.source§fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_newtype_struct<V: Visitor<'de>>( self, name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a newtype struct with a
particular name.source§fn deserialize_seq<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_seq<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values.source§fn deserialize_tuple<V: Visitor<'de>>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple<V: Visitor<'de>>( self, len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.source§fn deserialize_tuple_struct<V: Visitor<'de>>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple_struct<V: Visitor<'de>>( self, name: &'static str, len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.source§fn deserialize_map<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_map<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a map of key-value pairs.source§fn deserialize_struct<V: Visitor<'de>>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_struct<V: Visitor<'de>>( self, name: &'static str, fields: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a struct with a particular
name and fields.source§fn deserialize_enum<V: Visitor<'de>>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_enum<V: Visitor<'de>>( self, name: &'static str, variants: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an enum value with a
particular name and possible variants.source§fn deserialize_identifier<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_identifier<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.source§fn deserialize_ignored_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_ignored_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moresource§fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Determine whether
Deserialize
implementations should expect to
deserialize their human-readable form. Read moresource§impl<'de> Deserializer<'de> for &'de mut SpaJson
impl<'de> Deserializer<'de> for &'de mut SpaJson
§type Error = ParseError
type Error = ParseError
The error type that can be returned if some error occurs during
deserialization.
source§fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Require the
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moresource§fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bool<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a bool
value.source§fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i8
value.source§fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i16
value.source§fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i32
value.source§fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i64
value.source§fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u8
value.source§fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u16
value.source§fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u32
value.source§fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u64
value.source§fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f32
value.source§fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f64
value.source§fn deserialize_char<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_char<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a char
value.source§fn deserialize_str<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_str<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_string<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_bytes<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bytes<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_byte_buf<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_byte_buf<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_option<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an optional value. Read moresource§fn deserialize_unit<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit value.source§fn deserialize_unit_struct<V: Visitor<'de>>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit_struct<V: Visitor<'de>>( self, name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit struct with a
particular name.source§fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_newtype_struct<V: Visitor<'de>>( self, name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a newtype struct with a
particular name.source§fn deserialize_seq<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_seq<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values.source§fn deserialize_tuple<V: Visitor<'de>>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple<V: Visitor<'de>>( self, len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.source§fn deserialize_tuple_struct<V: Visitor<'de>>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple_struct<V: Visitor<'de>>( self, name: &'static str, len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.source§fn deserialize_map<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_map<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a map of key-value pairs.source§fn deserialize_struct<V: Visitor<'de>>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_struct<V: Visitor<'de>>( self, name: &'static str, fields: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a struct with a particular
name and fields.source§fn deserialize_enum<V: Visitor<'de>>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_enum<V: Visitor<'de>>( self, name: &'static str, variants: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an enum value with a
particular name and possible variants.source§fn deserialize_identifier<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_identifier<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.source§fn deserialize_ignored_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_ignored_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moresource§fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Determine whether
Deserialize
implementations should expect to
deserialize their human-readable form. Read moresource§impl<'de> Deserializer<'de> for SpaJson
impl<'de> Deserializer<'de> for SpaJson
§type Error = ParseError
type Error = ParseError
The error type that can be returned if some error occurs during
deserialization.
source§fn deserialize_bytes<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bytes<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_unit_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit_struct<V: Visitor<'de>>( self, _name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit struct with a
particular name.source§fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_newtype_struct<V: Visitor<'de>>( self, _name: &'static str, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a newtype struct with a
particular name.source§fn deserialize_tuple<V: Visitor<'de>>(
self,
_len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple<V: Visitor<'de>>( self, _len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.source§fn deserialize_tuple_struct<V: Visitor<'de>>(
self,
_name: &'static str,
_len: usize,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_tuple_struct<V: Visitor<'de>>( self, _name: &'static str, _len: usize, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a tuple struct with a
particular name and number of fields.source§fn deserialize_struct<V: Visitor<'de>>(
self,
_name: &'static str,
_fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_struct<V: Visitor<'de>>( self, _name: &'static str, _fields: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a struct with a particular
name and fields.source§fn deserialize_identifier<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_identifier<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting the name of a struct
field or the discriminant of an enum variant.source§fn deserialize_char<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_char<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a char
value.source§fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_string<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_byte_buf<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_byte_buf<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_unit<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_unit<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a unit value.source§fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u8
value.source§fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u16
value.source§fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u32
value.source§fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a u64
value.source§fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i8<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i8
value.source§fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i16<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i16
value.source§fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i32
value.source§fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an i64
value.source§fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bool<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a bool
value.source§fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f32<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f32
value.source§fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f64<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a f64
value.source§fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_option<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an optional value. Read moresource§fn deserialize_seq<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_seq<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a sequence of values.source§fn deserialize_map<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_map<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a map of key-value pairs.source§fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &'static str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_enum<V: Visitor<'de>>( self, _name: &'static str, _variants: &'static [&'static str], visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting an enum value with a
particular name and possible variants.source§fn deserialize_ignored_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_ignored_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type needs to deserialize a value whose type
doesn’t matter because it is ignored. Read moresource§fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_any<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Require the
Deserializer
to figure out how to drive the visitor based
on what data type is in the input. Read moresource§fn deserialize_str<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_str<V: Visitor<'de>>( self, visitor: V ) -> Result<V::Value, Self::Error>
Hint that the
Deserialize
type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
Deserializer
. Read moresource§fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error>where
V: Visitor<'de>,
source§fn is_human_readable(&self) -> bool
fn is_human_readable(&self) -> bool
Determine whether
Deserialize
implementations should expect to
deserialize their human-readable form. Read moresource§impl<'de> EnumAccess<'de> for SpaJson
impl<'de> EnumAccess<'de> for SpaJson
§type Error = ParseError
type Error = ParseError
The error type that can be returned if some error occurs during
deserialization.
§type Variant = SpaJson
type Variant = SpaJson
The
Visitor
that will be used to deserialize the content of the enum
variant.source§fn variant_seed<V: DeserializeSeed<'de>>(
self,
seed: V
) -> Result<(V::Value, Self::Variant), Self::Error>
fn variant_seed<V: DeserializeSeed<'de>>( self, seed: V ) -> Result<(V::Value, Self::Variant), Self::Error>
variant
is called to identify which variant to deserialize. Read moresource§impl<'j> Extend<SpaJson> for SpaJsonBuilder
impl<'j> Extend<SpaJson> for SpaJsonBuilder
source§fn extend<I: IntoIterator<Item = SpaJson>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = SpaJson>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<'a, 'j> From<&'a SpaJson> for &'a SpaJsonRef<'j>where
'a: 'j,
impl<'a, 'j> From<&'a SpaJson> for &'a SpaJsonRef<'j>where
'a: 'j,
source§impl<'a, 'j> From<&'a SpaJsonRef<'j>> for SpaJson
impl<'a, 'j> From<&'a SpaJsonRef<'j>> for SpaJson
source§fn from(json: &'a SpaJsonRef<'_>) -> Self
fn from(json: &'a SpaJsonRef<'_>) -> Self
Converts to this type from the input type.
source§impl<'j> From<SpaJsonRef<'j>> for SpaJson
impl<'j> From<SpaJsonRef<'j>> for SpaJson
source§fn from(json: SpaJsonRef<'j>) -> Self
fn from(json: SpaJsonRef<'j>) -> Self
Converts to this type from the input type.
source§impl<T> FromIterator<T> for SpaJsonwhere
SpaJsonBuilder: Extend<T>,
impl<T> FromIterator<T> for SpaJsonwhere
SpaJsonBuilder: Extend<T>,
source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
source§impl FromVariant for SpaJson
impl FromVariant for SpaJson
source§impl HasParamSpec for SpaJson
impl HasParamSpec for SpaJson
source§impl<'a> IntoIterator for &'a SpaJson
impl<'a> IntoIterator for &'a SpaJson
source§impl IntoIterator for SpaJson
impl IntoIterator for SpaJson
source§impl Ord for SpaJson
impl Ord for SpaJson
source§impl PartialEq for SpaJson
impl PartialEq for SpaJson
source§impl PartialOrd for SpaJson
impl PartialOrd for SpaJson
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for SpaJson
impl StaticType for SpaJson
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl StaticVariantType for SpaJson
impl StaticVariantType for SpaJson
source§fn static_variant_type() -> Cow<'static, VariantTy>
fn static_variant_type() -> Cow<'static, VariantTy>
Returns the
VariantType
corresponding to Self
.source§impl ToVariant for SpaJson
impl ToVariant for SpaJson
source§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a
Variant
clone of self
.source§impl<'de> VariantAccess<'de> for SpaJson
impl<'de> VariantAccess<'de> for SpaJson
§type Error = ParseError
type Error = ParseError
The error type that can be returned if some error occurs during
deserialization. Must match the error type of our
EnumAccess
.source§fn unit_variant(self) -> Result<(), Self::Error>
fn unit_variant(self) -> Result<(), Self::Error>
Called when deserializing a variant with no values. Read more
source§fn newtype_variant_seed<T: DeserializeSeed<'de>>(
self,
seed: T
) -> Result<T::Value, Self::Error>
fn newtype_variant_seed<T: DeserializeSeed<'de>>( self, seed: T ) -> Result<T::Value, Self::Error>
Called when deserializing a variant with a single value. Read more
source§fn tuple_variant<V: Visitor<'de>>(
self,
_len: usize,
_visitor: V
) -> Result<V::Value, Self::Error>
fn tuple_variant<V: Visitor<'de>>( self, _len: usize, _visitor: V ) -> Result<V::Value, Self::Error>
Called when deserializing a tuple-like variant. Read more
source§fn struct_variant<V: Visitor<'de>>(
self,
_fields: &'static [&'static str],
_visitor: V
) -> Result<V::Value, Self::Error>
fn struct_variant<V: Visitor<'de>>( self, _fields: &'static [&'static str], _visitor: V ) -> Result<V::Value, Self::Error>
Called when deserializing a struct-like variant. Read more
source§fn newtype_variant<T>(self) -> Result<T, Self::Error>where
T: Deserialize<'de>,
fn newtype_variant<T>(self) -> Result<T, Self::Error>where
T: Deserialize<'de>,
Called when deserializing a variant with a single value. Read more
impl Eq for SpaJson
impl StructuralPartialEq for SpaJson
Auto Trait Implementations§
impl Freeze for SpaJson
impl RefUnwindSafe for SpaJson
impl !Send for SpaJson
impl !Sync for SpaJson
impl Unpin for SpaJson
impl UnwindSafe for SpaJson
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
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.