Struct dbus::tree::Argument [−][src]
pub struct Argument(_, _);
A D-Bus Argument.
Methods
impl Argument
[src]
impl Argument
pub fn new(name: Option<String>, sig: Signature<'static>) -> Argument
[src]
pub fn new(name: Option<String>, sig: Signature<'static>) -> Argument
Create a new Argument.
pub fn name(&self) -> Option<&str>
[src]
pub fn name(&self) -> Option<&str>
Descriptive name (if any).
pub fn signature(&self) -> &Signature<'static>
[src]
pub fn signature(&self) -> &Signature<'static>
Type signature of argument.
Trait Implementations
impl Clone for Argument
[src]
impl Clone for Argument
fn clone(&self) -> Argument
[src]
fn clone(&self) -> Argument
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Argument
[src]
impl Debug for Argument
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialOrd for Argument
[src]
impl PartialOrd for Argument
fn partial_cmp(&self, other: &Argument) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Argument) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Argument) -> bool
[src]
fn lt(&self, other: &Argument) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Argument) -> bool
[src]
fn le(&self, other: &Argument) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Argument) -> bool
[src]
fn gt(&self, other: &Argument) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Argument) -> bool
[src]
fn ge(&self, other: &Argument) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Argument
[src]
impl Ord for Argument
fn cmp(&self, other: &Argument) -> Ordering
[src]
fn cmp(&self, other: &Argument) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for Argument
[src]
impl PartialEq for Argument
fn eq(&self, other: &Argument) -> bool
[src]
fn eq(&self, other: &Argument) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Argument) -> bool
[src]
fn ne(&self, other: &Argument) -> bool
This method tests for !=
.
impl Eq for Argument
[src]
impl Eq for Argument
impl From<Signature<'static>> for Argument
[src]
impl From<Signature<'static>> for Argument
impl<'a> From<&'a str> for Argument
[src]
impl<'a> From<&'a str> for Argument
impl<N: Into<String>, S: Into<Signature<'static>>> From<(N, S)> for Argument
[src]
impl<N: Into<String>, S: Into<Signature<'static>>> From<(N, S)> for Argument