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
sourceimpl<'a> ProcBlockDescriptor<'a>
impl<'a> ProcBlockDescriptor<'a>
pub const CUSTOM_SECTION_NAME: &'static str
Trait Implementations
sourceimpl<'a> Clone for ProcBlockDescriptor<'a>
impl<'a> Clone for ProcBlockDescriptor<'a>
sourcefn clone(&self) -> ProcBlockDescriptor<'a>
fn clone(&self) -> ProcBlockDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ProcBlockDescriptor<'a>
impl<'a> Debug for ProcBlockDescriptor<'a>
sourceimpl<'de, 'a> Deserialize<'de> for ProcBlockDescriptor<'a>
impl<'de, 'a> Deserialize<'de> for ProcBlockDescriptor<'a>
sourcefn 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
sourceimpl<'a> PartialEq<ProcBlockDescriptor<'a>> for ProcBlockDescriptor<'a>
impl<'a> PartialEq<ProcBlockDescriptor<'a>> for ProcBlockDescriptor<'a>
sourcefn eq(&self, other: &ProcBlockDescriptor<'a>) -> bool
fn eq(&self, other: &ProcBlockDescriptor<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProcBlockDescriptor<'a>) -> bool
fn ne(&self, other: &ProcBlockDescriptor<'a>) -> bool
This method tests for !=
.
sourceimpl<'a> Serialize for ProcBlockDescriptor<'a>
impl<'a> Serialize for ProcBlockDescriptor<'a>
impl<'a> StructuralPartialEq for ProcBlockDescriptor<'a>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more