Struct ruby_prism_sys::pm_location_t
source · #[repr(C)]pub struct pm_location_t {
pub start: *const u8,
pub end: *const u8,
}
Expand description
This represents a range of bytes in the source string to which a node or token corresponds.
Fields§
§start: *const u8
A pointer to the start location of the range in the source.
end: *const u8
A pointer to the end location of the range in the source.
Trait Implementations§
source§impl Clone for pm_location_t
impl Clone for pm_location_t
source§fn clone(&self) -> pm_location_t
fn clone(&self) -> pm_location_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for pm_location_t
impl Debug for pm_location_t
source§impl Default for pm_location_t
impl Default for pm_location_t
impl Copy for pm_location_t
Auto Trait Implementations§
impl Freeze for pm_location_t
impl RefUnwindSafe for pm_location_t
impl !Send for pm_location_t
impl !Sync for pm_location_t
impl Unpin for pm_location_t
impl UnwindSafe for pm_location_t
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