pub enum Type {
}
Expand description
This represents an interface name.
Variants§
Byte
Boolean
Int16
Uint16
Int32
Uint32
Int64
Uint64
UnixFD
Double
String
ObjectPath
Variant
Signature
Array(Box<Type>)
Struct(Vec<Type>)
DictEntry(Box<(Type, Type)>)
Implementations§
Source§impl Type
impl Type
pub fn from_string_to_signature( signature_string: &str, ) -> Result<Vec<Type>, TypeError>
pub fn from_bytes_to_signature( signature_string: &[u8], ) -> Result<Vec<Type>, TypeError>
pub fn from_signature_to_string(signature: &[Type]) -> Result<String, TypeError>
pub fn get_alignment(&self) -> usize
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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