Struct gsk4::ParseLocation
source · #[repr(transparent)]pub struct ParseLocation { /* private fields */ }
Expand description
A location in a parse buffer.
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 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