pub struct FunctionsModel {
pub owner: String,
pub public_path: String,
pub functions: Vec<FunctionModel>,
}Expand description
The public functions of the inherent impl blocks of one type of a crate
(FunctionsModel): what a callable of a crate built on this one is looked up in, so
that a member declared there with a function of this crate is called by its path.
Fields§
§owner: StringThe Rust path of the type, by its declaring module.
public_path: StringThe shortest path another crate names the type by.
functions: Vec<FunctionModel>The functions, in the order of the scan.
Trait Implementations§
Source§impl Clone for FunctionsModel
impl Clone for FunctionsModel
Source§fn clone(&self) -> FunctionsModel
fn clone(&self) -> FunctionsModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionsModel
impl Debug for FunctionsModel
Source§impl Default for FunctionsModel
impl Default for FunctionsModel
Source§fn default() -> FunctionsModel
fn default() -> FunctionsModel
Returns the “default value” for a type. Read more
impl Eq for FunctionsModel
Source§impl PartialEq for FunctionsModel
impl PartialEq for FunctionsModel
impl StructuralPartialEq for FunctionsModel
Auto Trait Implementations§
impl Freeze for FunctionsModel
impl RefUnwindSafe for FunctionsModel
impl Send for FunctionsModel
impl Sync for FunctionsModel
impl Unpin for FunctionsModel
impl UnsafeUnpin for FunctionsModel
impl UnwindSafe for FunctionsModel
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more