pub struct Documentation {
pub namespace: String,
pub name: String,
pub sub_modules: Vec<Documentation>,
pub documentation: String,
pub items: Vec<Item>,
}Expand description
Rhai module documentation parsed from a definitions exported by a rhai engine.
Fields§
§namespace: StringComplete path to the module.
name: StringName of the module.
sub_modules: Vec<Documentation>Sub modules.
documentation: StringModule documentation as raw text.
items: Vec<Item>Documentation items found in the module.
Trait Implementations§
Source§impl Clone for Documentation
impl Clone for Documentation
Source§fn clone(&self) -> Documentation
fn clone(&self) -> Documentation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Documentation
impl RefUnwindSafe for Documentation
impl Send for Documentation
impl Sync for Documentation
impl Unpin for Documentation
impl UnwindSafe for Documentation
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