pub struct CapabilitiesBlock {
pub required: Vec<Ident>,
pub optional: Vec<Ident>,
pub span: Span,
}Expand description
capabilities { required: [...], optional: [...] }
Fields§
§required: Vec<Ident>§optional: Vec<Ident>§span: SpanTrait Implementations§
Source§impl Clone for CapabilitiesBlock
impl Clone for CapabilitiesBlock
Source§fn clone(&self) -> CapabilitiesBlock
fn clone(&self) -> CapabilitiesBlock
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 moreSource§impl Debug for CapabilitiesBlock
impl Debug for CapabilitiesBlock
Source§impl<'de> Deserialize<'de> for CapabilitiesBlock
impl<'de> Deserialize<'de> for CapabilitiesBlock
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
Source§impl PartialEq for CapabilitiesBlock
impl PartialEq for CapabilitiesBlock
Source§impl Serialize for CapabilitiesBlock
impl Serialize for CapabilitiesBlock
impl StructuralPartialEq for CapabilitiesBlock
Auto Trait Implementations§
impl Freeze for CapabilitiesBlock
impl RefUnwindSafe for CapabilitiesBlock
impl Send for CapabilitiesBlock
impl Sync for CapabilitiesBlock
impl Unpin for CapabilitiesBlock
impl UnwindSafe for CapabilitiesBlock
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