pub struct StructFieldEscapeAnalyzer {
pub field_info: Vec<FieldEscapeInfo>,
}Fields§
§field_info: Vec<FieldEscapeInfo>Implementations§
Source§impl StructFieldEscapeAnalyzer
impl StructFieldEscapeAnalyzer
pub fn new() -> Self
pub fn add_field(&mut self, info: FieldEscapeInfo)
pub fn escaping_fields(&self) -> Vec<&FieldEscapeInfo>
pub fn non_escaping_fields(&self) -> Vec<&FieldEscapeInfo>
pub fn can_scalar_replace_struct(&self, struct_type: &str) -> bool
Auto Trait Implementations§
impl Freeze for StructFieldEscapeAnalyzer
impl RefUnwindSafe for StructFieldEscapeAnalyzer
impl Send for StructFieldEscapeAnalyzer
impl Sync for StructFieldEscapeAnalyzer
impl Unpin for StructFieldEscapeAnalyzer
impl UnsafeUnpin for StructFieldEscapeAnalyzer
impl UnwindSafe for StructFieldEscapeAnalyzer
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