pub struct StringRef { /* private fields */ }
Implementations§
Source§impl StringRef
impl StringRef
Sourcepub fn as_ptr(&self) -> *mut JSStringRef
pub fn as_ptr(&self) -> *mut JSStringRef
Return the inner pointer to the underlying C value.
Sourcepub unsafe fn from_glib_ptr_borrow<'a>(
ptr: *const *const JSStringRef,
) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>( ptr: *const *const JSStringRef, ) -> &'a Self
Borrows the underlying C value.
Trait Implementations§
Source§impl Ord for StringRef
impl Ord for StringRef
Source§impl PartialOrd for StringRef
impl PartialOrd for StringRef
impl Eq for StringRef
impl StructuralPartialEq for StringRef
Auto Trait Implementations§
impl Freeze for StringRef
impl RefUnwindSafe for StringRef
impl !Send for StringRef
impl !Sync for StringRef
impl Unpin for StringRef
impl UnwindSafe for StringRef
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