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