pub struct EscapeAnnotationPass {
pub annotated_nodes: Vec<(u32, EscapeAnnotation)>,
}Fields§
§annotated_nodes: Vec<(u32, EscapeAnnotation)>Implementations§
Source§impl EscapeAnnotationPass
impl EscapeAnnotationPass
pub fn new() -> Self
pub fn annotate(&mut self, node: u32, annotation: EscapeAnnotation)
pub fn get_annotation(&self, node: u32) -> Option<&EscapeAnnotation>
pub fn stack_promote_candidates(&self) -> Vec<u32>
Trait Implementations§
Source§impl Clone for EscapeAnnotationPass
impl Clone for EscapeAnnotationPass
Source§fn clone(&self) -> EscapeAnnotationPass
fn clone(&self) -> EscapeAnnotationPass
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 moreAuto Trait Implementations§
impl Freeze for EscapeAnnotationPass
impl RefUnwindSafe for EscapeAnnotationPass
impl Send for EscapeAnnotationPass
impl Sync for EscapeAnnotationPass
impl Unpin for EscapeAnnotationPass
impl UnsafeUnpin for EscapeAnnotationPass
impl UnwindSafe for EscapeAnnotationPass
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