Struct glib_signal::Pointer
source · #[repr(transparent)]pub struct Pointer<T>(pub *mut T);
Tuple Fields§
§0: *mut T
Implementations§
Trait Implementations§
source§impl<'a, T> FromValue<'a> for Pointer<T>
impl<'a, T> FromValue<'a> for Pointer<T>
§type Checker = GenericValueTypeChecker<Pointer<T>>
type Checker = GenericValueTypeChecker<Pointer<T>>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<T> StaticType for Pointer<T>
impl<T> StaticType for Pointer<T>
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl<T: Copy> Copy for Pointer<T>
Auto Trait Implementations§
impl<T> Freeze for Pointer<T>
impl<T> RefUnwindSafe for Pointer<T>where
T: RefUnwindSafe,
impl<T> !Send for Pointer<T>
impl<T> !Sync for Pointer<T>
impl<T> Unpin for Pointer<T>
impl<T> UnwindSafe for Pointer<T>where
T: RefUnwindSafe,
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
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.