pub struct ExampleDecl {
pub label: Option<String>,
pub input: String,
pub expect: Option<String>,
pub span: Span,
}Fields§
§label: Option<String>§input: String§expect: Option<String>§span: SpanTrait Implementations§
Source§impl Clone for ExampleDecl
impl Clone for ExampleDecl
Source§fn clone(&self) -> ExampleDecl
fn clone(&self) -> ExampleDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExampleDecl
impl Debug for ExampleDecl
impl Eq for ExampleDecl
Source§impl PartialEq for ExampleDecl
impl PartialEq for ExampleDecl
Source§impl Serialize for ExampleDecl
impl Serialize for ExampleDecl
impl StructuralPartialEq for ExampleDecl
Auto Trait Implementations§
impl Freeze for ExampleDecl
impl RefUnwindSafe for ExampleDecl
impl Send for ExampleDecl
impl Sync for ExampleDecl
impl Unpin for ExampleDecl
impl UnsafeUnpin for ExampleDecl
impl UnwindSafe for ExampleDecl
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