pub struct AnchorSpec {
pub path: String,
pub symbol: Option<String>,
pub line_start: u32,
pub line_end: u32,
}Expand description
One anchor to attach to a new memory (hash is computed from the file at add-time).
Fields§
§path: String§symbol: Option<String>§line_start: u32§line_end: u32Trait Implementations§
Source§impl Clone for AnchorSpec
impl Clone for AnchorSpec
Source§fn clone(&self) -> AnchorSpec
fn clone(&self) -> AnchorSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnchorSpec
impl RefUnwindSafe for AnchorSpec
impl Send for AnchorSpec
impl Sync for AnchorSpec
impl Unpin for AnchorSpec
impl UnsafeUnpin for AnchorSpec
impl UnwindSafe for AnchorSpec
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