Struct bytecode::borrow_analysis::BorrowAnnotation
source · pub struct BorrowAnnotation { /* private fields */ }
Expand description
Borrow annotation computed by the borrow analysis processor.
Implementations§
source§impl BorrowAnnotation
impl BorrowAnnotation
pub fn get_summary(&self) -> &BorrowInfo
pub fn get_borrow_info_at( &self, code_offset: CodeOffset ) -> Option<&BorrowInfoAtCodeOffset>
Trait Implementations§
source§impl Clone for BorrowAnnotation
impl Clone for BorrowAnnotation
source§fn clone(&self) -> BorrowAnnotation
fn clone(&self) -> BorrowAnnotation
Returns a copy 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 Default for BorrowAnnotation
impl Default for BorrowAnnotation
source§fn default() -> BorrowAnnotation
fn default() -> BorrowAnnotation
Returns the “default value” for a type. Read more