Struct gio::DBusNodeInfo
source · #[repr(transparent)]pub struct DBusNodeInfo { /* private fields */ }
Implementations
sourceimpl DBusNodeInfo
impl DBusNodeInfo
pub fn path(&self) -> Option<&str>
pub fn interfaces(&self) -> &[DBusInterfaceInfo]
pub fn nodes(&self) -> &[DBusNodeInfo]
sourceimpl DBusNodeInfo
impl DBusNodeInfo
pub fn as_ptr(&self) -> *mut GDBusNodeInfo
sourceimpl DBusNodeInfo
impl DBusNodeInfo
pub fn for_xml(xml_data: &str) -> Result<DBusNodeInfo, Error>
pub fn lookup_interface(&self, name: &str) -> Option<DBusInterfaceInfo>
Trait Implementations
sourceimpl Clone for DBusNodeInfo
impl Clone for DBusNodeInfo
sourceimpl Debug for DBusNodeInfo
impl Debug for DBusNodeInfo
sourceimpl Hash for DBusNodeInfo
impl Hash for DBusNodeInfo
sourceimpl Ord for DBusNodeInfo
impl Ord for DBusNodeInfo
sourcefn cmp(&self, other: &DBusNodeInfo) -> Ordering
fn cmp(&self, other: &DBusNodeInfo) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DBusNodeInfo> for DBusNodeInfo
impl PartialEq<DBusNodeInfo> for DBusNodeInfo
sourcefn eq(&self, other: &DBusNodeInfo) -> bool
fn eq(&self, other: &DBusNodeInfo) -> bool
sourceimpl PartialOrd<DBusNodeInfo> for DBusNodeInfo
impl PartialOrd<DBusNodeInfo> for DBusNodeInfo
sourcefn partial_cmp(&self, other: &DBusNodeInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &DBusNodeInfo) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl StaticType for DBusNodeInfo
impl StaticType for DBusNodeInfo
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for DBusNodeInfo
impl StructuralEq for DBusNodeInfo
impl StructuralPartialEq for DBusNodeInfo
Auto Trait Implementations
impl RefUnwindSafe for DBusNodeInfo
impl !Send for DBusNodeInfo
impl !Sync for DBusNodeInfo
impl Unpin for DBusNodeInfo
impl UnwindSafe for DBusNodeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.