pub struct CompoundStmt {
pub items: Vec<BlockItem>,
pub info: NodeInfo,
}Expand description
複合文
Fields§
§items: Vec<BlockItem>§info: NodeInfoImplementations§
Source§impl CompoundStmt
impl CompoundStmt
Sourcepub fn loc(&self) -> &SourceLocation
pub fn loc(&self) -> &SourceLocation
後方互換性のための loc アクセサ
Trait Implementations§
Source§impl Clone for CompoundStmt
impl Clone for CompoundStmt
Source§fn clone(&self) -> CompoundStmt
fn clone(&self) -> CompoundStmt
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 moreAuto Trait Implementations§
impl Freeze for CompoundStmt
impl RefUnwindSafe for CompoundStmt
impl Send for CompoundStmt
impl Sync for CompoundStmt
impl Unpin for CompoundStmt
impl UnsafeUnpin for CompoundStmt
impl UnwindSafe for CompoundStmt
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