pub struct Stmt {
pub kind: StmtKind,
pub span: Option<Span>,
pub annotations: Vec<Annotation>,
}
Fields§
§kind: StmtKind
§span: Option<Span>
§annotations: Vec<Annotation>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stmt
impl<'de> Deserialize<'de> for Stmt
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 Stmt
impl PartialEq for Stmt
impl StructuralPartialEq for Stmt
Auto Trait Implementations§
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnwindSafe for Stmt
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