pub struct FileData {Show 17 fields
pub miniextendr_items: Vec<LintItem>,
pub types_with_external_ptr: HashSet<String>,
pub types_with_typed_external: HashSet<String>,
pub inherent_impl_class_systems: HashMap<String, (String, usize)>,
pub attributed_trait_impls: Vec<AttributedTraitImpl>,
pub impl_blocks_per_type: HashMap<String, Vec<(Option<String>, usize)>>,
pub fn_visibility: HashMap<String, bool>,
pub declared_child_mods: Vec<String>,
pub path_redirected_mods: Vec<(String, String)>,
pub mod_decl_cfgs: HashMap<String, Vec<String>>,
pub export_control: HashMap<String, (bool, bool, usize)>,
pub impl_methods: HashMap<String, Vec<ImplMethodEntry>>,
pub fn_doc_tags: HashMap<String, Vec<String>>,
pub rf_error_calls: Vec<(String, usize)>,
pub ffi_unchecked_calls: Vec<(String, usize)>,
pub vec_into_sexp_calls: Vec<(String, usize)>,
pub fn_param_names: HashMap<String, Vec<(String, usize)>>,
}Fields§
§miniextendr_items: Vec<LintItem>§types_with_external_ptr: HashSet<String>§types_with_typed_external: HashSet<String>§inherent_impl_class_systems: HashMap<String, (String, usize)>§attributed_trait_impls: Vec<AttributedTraitImpl>§impl_blocks_per_type: HashMap<String, Vec<(Option<String>, usize)>>§fn_visibility: HashMap<String, bool>§declared_child_mods: Vec<String>Simple mod child; declarations (by ident name).
path_redirected_mods: Vec<(String, String)>#[path = "file.rs"] mod name; declarations: (mod_name, file_path_str).
mod_decl_cfgs: HashMap<String, Vec<String>>cfg attrs on mod child; declarations: mod_name -> cfg strings.
export_control: HashMap<String, (bool, bool, usize)>(has_internal, has_noexport, line)
impl_methods: HashMap<String, Vec<ImplMethodEntry>>Methods per inherent impl type: type_name → Vec<ImplMethodEntry>.
Known roxygen tags: “@noRd”, “@export”, “@keywords internal”
rf_error_calls: Vec<(String, usize)>Lines containing direct Rf_error/Rf_errorcall calls: (function_name, line_number).
ffi_unchecked_calls: Vec<(String, usize)>Lines containing ffi::*_unchecked() calls: (function_name, line_number).
vec_into_sexp_calls: Vec<(String, usize)>into_sexp() / into_sexp_unchecked() calls that appear inside a vec!/array
literal: (call_name, line_number). This is the use-after-free idiom — each later
into_sexp allocates and can GC an earlier, still-unprotected element of the same
literal. (MXL302)
fn_param_names: HashMap<String, Vec<(String, usize)>>Maps fn/method name → list of (param_name, line) for params that are R reserved words.
Key for free functions is the function name; for impl methods it is "TypeName::method_name".
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileData
impl RefUnwindSafe for FileData
impl Send for FileData
impl Sync for FileData
impl Unpin for FileData
impl UnsafeUnpin for FileData
impl UnwindSafe for FileData
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
Source§impl<T> SizeHint for Twhere
T: ?Sized,
impl<T> SizeHint for Twhere
T: ?Sized,
Source§default fn lower_bound(&self) -> usize
default fn lower_bound(&self) -> usize
core_io_internals)[u8; 12] could return any value between 0 and
12 inclusively as a correct implementation. Read moreSource§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
ptr_alignment_type)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
sized_type_properties)[Self]. Read moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 648 bytes