Struct hotg_rune_proc_blocks::ProcBlockDescriptor [−][src]
pub struct ProcBlockDescriptor<'a> { pub type_name: Cow<'a, str>, pub description: Cow<'a, str>, pub available_transforms: Cow<'a, [TransformDescriptor<'a>]>, }
Expand description
A description of everything a particular proc block is capable of.
Fields
type_name: Cow<'a, str>
The name for this proc block’s type.
description: Cow<'a, str>
A human-friendly description of what this proc block does.
Similar to how Rust types are normally documented, this should consist of a short one-line summary with more information in subsequent paragraphs.
available_transforms: Cow<'a, [TransformDescriptor<'a>]>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> Send for ProcBlockDescriptor<'a>
impl<'a> Sync for ProcBlockDescriptor<'a>
impl<'a> Unpin for ProcBlockDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more