[][src]Struct dbus::tree::Argument

pub struct Argument(_, _);

A D-Bus Argument.

Implementations

impl Argument[src]

pub fn new(name: Option<String>, sig: Signature<'static>) -> Argument[src]

Create a new Argument.

pub fn name(&self) -> Option<&str>[src]

Descriptive name (if any).

pub fn signature(&self) -> &Signature<'static>[src]

Type signature of argument.

Trait Implementations

impl Clone for Argument[src]

impl Debug for Argument[src]

impl Eq for Argument[src]

impl<'a> From<&'a str> for Argument[src]

impl<N: Into<String>, S: Into<Signature<'static>>> From<(N, S)> for Argument[src]

impl From<Signature<'static>> for Argument[src]

impl Ord for Argument[src]

impl PartialEq<Argument> for Argument[src]

impl PartialOrd<Argument> for Argument[src]

impl StructuralEq for Argument[src]

impl StructuralPartialEq for Argument[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.