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
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ProcBlockDescriptor<'a>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ProcBlockDescriptor<'a>, <__D as Deserializer<'de>>::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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ProcBlockDescriptor<'a>
impl<'a> Send for ProcBlockDescriptor<'a>
impl<'a> Sync for ProcBlockDescriptor<'a>
impl<'a> Unpin for ProcBlockDescriptor<'a>
impl<'a> UnwindSafe for ProcBlockDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more