pub struct ModelFn {
pub rust: String,
pub module: Vec<String>,
pub self_ty: Option<String>,
pub trait_name: Option<String>,
pub self_path: Option<Vec<String>>,
pub trait_path: Option<Vec<String>>,
pub name: String,
pub attr: ModelAttr,
pub sig: Sig,
pub loops: Vec<LoopNode>,
pub file: String,
pub line: usize,
}Expand description
A modelled function of the crate.
Fields§
§rust: Stringcrate::a::f, crate::a::Item::f or crate::a::<Item as Trait>::f.
module: Vec<String>Module path below the crate root, including inline modules.
self_ty: Option<String>§trait_name: Option<String>§self_path: Option<Vec<String>>The paths of the type and the trait of the impl block, as written.
trait_path: Option<Vec<String>>§name: String§attr: ModelAttr§sig: Sig§loops: Vec<LoopNode>§file: StringPath of the file relative to the crate root.
line: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for ModelFn
impl !Sync for ModelFn
impl Forget for ModelFn
impl Freeze for ModelFn
impl Move for ModelFn
impl RefUnwindSafe for ModelFn
impl Unpin for ModelFn
impl UnsafeUnpin for ModelFn
impl UnwindSafe for ModelFn
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