pub struct SimpleStmt {
pub span: Span,
}Expand description
One statement carrying only a span.
Fields§
§span: SpanSource span covering the statement.
Trait Implementations§
Source§impl Clone for SimpleStmt
impl Clone for SimpleStmt
Source§fn clone(&self) -> SimpleStmt
fn clone(&self) -> SimpleStmt
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 SimpleStmt
impl Debug for SimpleStmt
Source§impl<'de> Deserialize<'de> for SimpleStmt
impl<'de> Deserialize<'de> for SimpleStmt
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 SimpleStmt
impl PartialEq for SimpleStmt
Source§impl Serialize for SimpleStmt
impl Serialize for SimpleStmt
impl StructuralPartialEq for SimpleStmt
Auto Trait Implementations§
impl Freeze for SimpleStmt
impl RefUnwindSafe for SimpleStmt
impl Send for SimpleStmt
impl Sync for SimpleStmt
impl Unpin for SimpleStmt
impl UnsafeUnpin for SimpleStmt
impl UnwindSafe for SimpleStmt
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