Struct rhai_autodocs::custom_types::CustomTypesMetadata
source · pub struct CustomTypesMetadata {
pub type_name: String,
pub display_name: String,
pub doc_comments: Option<Vec<String>>,
}
Fields§
§type_name: String
“Real” name of the type, with rust namespaces if any.
display_name: String
Simple name for Rhai documentation.
doc_comments: Option<Vec<String>>
All comments from the type.
Trait Implementations§
source§impl Clone for CustomTypesMetadata
impl Clone for CustomTypesMetadata
source§fn clone(&self) -> CustomTypesMetadata
fn clone(&self) -> CustomTypesMetadata
Returns a copy 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 moresource§impl Debug for CustomTypesMetadata
impl Debug for CustomTypesMetadata
source§impl<'de> Deserialize<'de> for CustomTypesMetadata
impl<'de> Deserialize<'de> for CustomTypesMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomTypesMetadata
impl RefUnwindSafe for CustomTypesMetadata
impl Send for CustomTypesMetadata
impl Sync for CustomTypesMetadata
impl Unpin for CustomTypesMetadata
impl UnwindSafe for CustomTypesMetadata
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