zvariant 5.14.0

D-Bus & GVariant encoding & decoding
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// This type is used for keeping strings in a [`Value`], among other things.
///
/// [`Value`]: crate::Value::Str
pub use zcheapstr::CheapStr as Str;

use crate::{Basic, Type};

impl Basic for Str<'_> {
    const SIGNATURE_CHAR: char = <&str>::SIGNATURE_CHAR;
    const SIGNATURE_STR: &'static str = <&str>::SIGNATURE_STR;
}

impl Type for Str<'_> {
    const SIGNATURE: &'static crate::Signature = &crate::Signature::Str;
}