pub struct NodeReference {
pub sourcefile_id: u32,
pub start: u32,
pub end: u32,
}Fields§
§sourcefile_id: u32§start: u32§end: u32Trait Implementations§
Source§impl Clone for NodeReference
impl Clone for NodeReference
Source§fn clone(&self) -> NodeReference
fn clone(&self) -> NodeReference
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 NodeReference
impl Debug for NodeReference
Source§impl<'de> Deserialize<'de> for NodeReference
impl<'de> Deserialize<'de> for NodeReference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeReference
impl RefUnwindSafe for NodeReference
impl Send for NodeReference
impl Sync for NodeReference
impl Unpin for NodeReference
impl UnwindSafe for NodeReference
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