Struct glib::object::BorrowedObject
source · #[repr(transparent)]pub struct BorrowedObject<'a, T> { /* private fields */ }
Expand description
Borrowed reference to an object of type T
.
This dereferences into &T
.
Implementations§
source§impl<'a, T: ObjectType> BorrowedObject<'a, T>
impl<'a, T: ObjectType> BorrowedObject<'a, T>
Trait Implementations§
source§impl<'a, T> AsRef<T> for BorrowedObject<'a, T>
impl<'a, T> AsRef<T> for BorrowedObject<'a, T>
source§impl<'a, T: Debug> Debug for BorrowedObject<'a, T>
impl<'a, T: Debug> Debug for BorrowedObject<'a, T>
source§impl<'a, T> Deref for BorrowedObject<'a, T>
impl<'a, T> Deref for BorrowedObject<'a, T>
source§impl<'a, T: Downgrade + ObjectType> Downgrade for BorrowedObject<'a, T>
impl<'a, T: Downgrade + ObjectType> Downgrade for BorrowedObject<'a, T>
source§impl<'a, T: Hash> Hash for BorrowedObject<'a, T>
impl<'a, T: Hash> Hash for BorrowedObject<'a, T>
source§impl<'a, T: Ord> Ord for BorrowedObject<'a, T>
impl<'a, T: Ord> Ord for BorrowedObject<'a, T>
source§fn cmp(&self, other: &BorrowedObject<'a, T>) -> Ordering
fn cmp(&self, other: &BorrowedObject<'a, T>) -> Ordering
1.21.0 · source§fn 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
source§impl<'a, T: PartialEq> PartialEq<BorrowedObject<'a, T>> for BorrowedObject<'a, T>
impl<'a, T: PartialEq> PartialEq<BorrowedObject<'a, T>> for BorrowedObject<'a, T>
source§fn eq(&self, other: &BorrowedObject<'a, T>) -> bool
fn eq(&self, other: &BorrowedObject<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, T: PartialEq> PartialEq<T> for BorrowedObject<'a, T>
impl<'a, T: PartialEq> PartialEq<T> for BorrowedObject<'a, T>
source§impl<'a, T: PartialOrd> PartialOrd<BorrowedObject<'a, T>> for BorrowedObject<'a, T>
impl<'a, T: PartialOrd> PartialOrd<BorrowedObject<'a, T>> for BorrowedObject<'a, T>
source§fn partial_cmp(&self, other: &BorrowedObject<'a, T>) -> Option<Ordering>
fn partial_cmp(&self, other: &BorrowedObject<'a, T>) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl<'a, T: PartialOrd> PartialOrd<T> for BorrowedObject<'a, T>
impl<'a, T: PartialOrd> PartialOrd<T> for BorrowedObject<'a, T>
1.0.0 · source§fn 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 more