#[repr(C)]pub struct pm_line_offset_list_t {
pub size: usize,
pub capacity: usize,
pub offsets: *mut u32,
}Expand description
A list of offsets of the start of lines in a string. The offsets are assumed to be sorted/inserted in ascending order.
Fields§
§size: usizeThe number of offsets in the list.
capacity: usizeThe capacity of the list that has been allocated.
offsets: *mut u32The list of offsets.
Trait Implementations§
Source§impl Clone for pm_line_offset_list_t
impl Clone for pm_line_offset_list_t
Source§fn clone(&self) -> pm_line_offset_list_t
fn clone(&self) -> pm_line_offset_list_t
Returns a duplicate 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_line_offset_list_t
impl Debug for pm_line_offset_list_t
Source§impl Default for pm_line_offset_list_t
impl Default for pm_line_offset_list_t
impl Copy for pm_line_offset_list_t
Auto Trait Implementations§
impl Freeze for pm_line_offset_list_t
impl RefUnwindSafe for pm_line_offset_list_t
impl !Send for pm_line_offset_list_t
impl !Sync for pm_line_offset_list_t
impl Unpin for pm_line_offset_list_t
impl UnwindSafe for pm_line_offset_list_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