rust/syn/gen/visit.rs
Source file repositories/reference/linux-study-clean/rust/syn/gen/visit.rs
File Facts
- System
- Linux kernel
- Corpus path
rust/syn/gen/visit.rs- Extension
.rs- Size
- 125443 bytes
- Lines
- 3944
- Domain
- Rust Kernel Layer
- Bucket
- Rust API Membrane
- Inferred role
- Rust Kernel Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.
- Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function visit_abifunction visit_angle_bracketed_generic_argumentsfunction visit_armfunction visit_assoc_constfunction visit_assoc_typefunction visit_attr_stylefunction visit_attributefunction visit_bare_fn_argfunction visit_bare_variadicfunction visit_bin_opfunction visit_blockfunction visit_bound_lifetimesfunction visit_captured_paramfunction visit_const_paramfunction visit_constraintfunction visit_datafunction visit_data_enumfunction visit_data_structfunction visit_data_unionfunction visit_derive_inputfunction visit_exprfunction visit_expr_arrayfunction visit_expr_assignfunction visit_expr_asyncfunction visit_expr_awaitfunction visit_expr_binaryfunction visit_expr_blockfunction visit_expr_breakfunction visit_expr_callfunction visit_expr_castfunction visit_expr_closurefunction visit_expr_constfunction visit_expr_continuefunction visit_expr_fieldfunction visit_expr_for_loopfunction visit_expr_groupfunction visit_expr_iffunction visit_expr_indexfunction visit_expr_inferfunction visit_expr_letfunction visit_expr_litfunction visit_expr_loopfunction visit_expr_macrofunction visit_expr_matchfunction visit_expr_method_callfunction visit_expr_parenfunction visit_expr_pathfunction visit_expr_range
Annotated Snippet
fn visit_abi(&mut self, i: &'ast crate::Abi) {
visit_abi(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_angle_bracketed_generic_arguments(
&mut self,
i: &'ast crate::AngleBracketedGenericArguments,
) {
visit_angle_bracketed_generic_arguments(self, i);
}
#[cfg(feature = "full")]
#[cfg_attr(docsrs, doc(cfg(feature = "full")))]
fn visit_arm(&mut self, i: &'ast crate::Arm) {
visit_arm(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_assoc_const(&mut self, i: &'ast crate::AssocConst) {
visit_assoc_const(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_assoc_type(&mut self, i: &'ast crate::AssocType) {
visit_assoc_type(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_attr_style(&mut self, i: &'ast crate::AttrStyle) {
visit_attr_style(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_attribute(&mut self, i: &'ast crate::Attribute) {
visit_attribute(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_bare_fn_arg(&mut self, i: &'ast crate::BareFnArg) {
visit_bare_fn_arg(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_bare_variadic(&mut self, i: &'ast crate::BareVariadic) {
visit_bare_variadic(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_bin_op(&mut self, i: &'ast crate::BinOp) {
visit_bin_op(self, i);
}
#[cfg(feature = "full")]
#[cfg_attr(docsrs, doc(cfg(feature = "full")))]
fn visit_block(&mut self, i: &'ast crate::Block) {
visit_block(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_bound_lifetimes(&mut self, i: &'ast crate::BoundLifetimes) {
visit_bound_lifetimes(self, i);
}
#[cfg(feature = "full")]
#[cfg_attr(docsrs, doc(cfg(feature = "full")))]
fn visit_captured_param(&mut self, i: &'ast crate::CapturedParam) {
visit_captured_param(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_const_param(&mut self, i: &'ast crate::ConstParam) {
visit_const_param(self, i);
}
#[cfg(any(feature = "derive", feature = "full"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))]
fn visit_constraint(&mut self, i: &'ast crate::Constraint) {
visit_constraint(self, i);
}
#[cfg(feature = "derive")]
#[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
fn visit_data(&mut self, i: &'ast crate::Data) {
visit_data(self, i);
}
#[cfg(feature = "derive")]
#[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
fn visit_data_enum(&mut self, i: &'ast crate::DataEnum) {
visit_data_enum(self, i);
}
#[cfg(feature = "derive")]
#[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
fn visit_data_struct(&mut self, i: &'ast crate::DataStruct) {
visit_data_struct(self, i);
Annotation
- Detected declarations: `function visit_abi`, `function visit_angle_bracketed_generic_arguments`, `function visit_arm`, `function visit_assoc_const`, `function visit_assoc_type`, `function visit_attr_style`, `function visit_attribute`, `function visit_bare_fn_arg`, `function visit_bare_variadic`, `function visit_bin_op`.
- Atlas domain: Rust Kernel Layer / Rust API Membrane.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.