pub struct Length { /* private fields */ }Expand description
GLib type: Inline allocated boxed type with stack copy semantics.
Implementations§
Source§impl Length
impl Length
pub fn as_ptr(&self) -> *mut RsvgLength
Sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const RsvgLength) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const RsvgLength) -> &'a Self
Borrows the underlying C value.
Sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut RsvgLength) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut RsvgLength) -> &'a mut Self
Borrows the underlying C value mutably.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Length
impl RefUnwindSafe for Length
impl Send for Length
impl Sync for Length
impl Unpin for Length
impl UnsafeUnpin for Length
impl UnwindSafe for Length
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