pub struct LivePtr {
pub file_id: LiveFileId,
pub generation: LiveFileGeneration,
pub index: u32,
}
Fields§
§file_id: LiveFileId
§generation: LiveFileGeneration
§index: u32
Implementations§
Source§impl LivePtr
impl LivePtr
pub fn node_index(&self) -> usize
pub fn with_index(&self, index: usize) -> Self
pub fn from_index( file_id: LiveFileId, index: usize, generation: LiveFileGeneration, ) -> Self
Trait Implementations§
Source§impl Ord for LivePtr
impl Ord for LivePtr
Source§impl PartialOrd for LivePtr
impl PartialOrd for LivePtr
impl Copy for LivePtr
impl Eq for LivePtr
impl StructuralPartialEq for LivePtr
Auto Trait Implementations§
impl Freeze for LivePtr
impl RefUnwindSafe for LivePtr
impl Send for LivePtr
impl Sync for LivePtr
impl Unpin for LivePtr
impl UnwindSafe for LivePtr
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