pub struct ParamView {
pub name: String,
pub default: Option<Value>,
pub default_text: String,
pub annotations: Vec<AnnotationView>,
pub span: Span,
}Expand description
A param declaration as written.
Fields§
§name: StringThe param’s name.
default: Option<Value>The default, or None when it isn’t a literal.
default_text: StringThe default as written.
annotations: Vec<AnnotationView>The annotations on it.
span: SpanWhere the declaration is, without its annotations.
Trait Implementations§
impl StructuralPartialEq for ParamView
Auto Trait Implementations§
impl Freeze for ParamView
impl RefUnwindSafe for ParamView
impl Send for ParamView
impl Sync for ParamView
impl Unpin for ParamView
impl UnsafeUnpin for ParamView
impl UnwindSafe for ParamView
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