pub struct BorrowAnnotation { /* private fields */ }
Expand description
Borrow annotation computed by the borrow analysis processor.
Implementations
sourceimpl BorrowAnnotation
impl BorrowAnnotation
pub fn get_summary(&self) -> &BorrowInfo
pub fn get_borrow_info_at(
&self,
code_offset: CodeOffset
) -> Option<&BorrowInfoAtCodeOffset>
Trait Implementations
sourceimpl Clone for BorrowAnnotation
impl Clone for BorrowAnnotation
sourcefn clone(&self) -> BorrowAnnotation
fn clone(&self) -> BorrowAnnotation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for BorrowAnnotation
impl Default for BorrowAnnotation
sourcefn default() -> BorrowAnnotation
fn default() -> BorrowAnnotation
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BorrowAnnotation
impl Send for BorrowAnnotation
impl Sync for BorrowAnnotation
impl Unpin for BorrowAnnotation
impl UnwindSafe for BorrowAnnotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more