pub struct FileData {Show 18 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 fn_param_names: HashMap<String, Vec<(String, usize)>>,
pub lifetime_param_items: Vec<(String, usize)>,
pub interleaved_doc_attrs: 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
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).
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".
lifetime_param_items: Vec<(String, usize)>#[miniextendr] functions or impl blocks that carry explicit lifetime params.
Each entry is (name, line) where name is the function or type name.
interleaved_doc_attrs: Vec<(String, usize)>#[miniextendr] items where a non-doc attribute interrupts a doc-comment stream.
Each entry is (item_name, line_of_interrupting_attr).
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> 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: 672 bytes