pub struct RuleParameter {
pub name: Ident,
pub ty: Option<Type>,
}Fields§
§name: Ident§ty: Option<Type>Trait Implementations§
Source§impl Parse for RuleParameter
impl Parse for RuleParameter
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for RuleParameter
impl RefUnwindSafe for RuleParameter
impl !Send for RuleParameter
impl !Sync for RuleParameter
impl Unpin for RuleParameter
impl UnsafeUnpin for RuleParameter
impl UnwindSafe for RuleParameter
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