pub struct Block<T> {
pub block: Vec<Statement<T>>,
pub position: Position,
pub info: T,
}
Fields§
§block: Vec<Statement<T>>
§position: Position
§info: T
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for Block<T>
impl<T: Ord> Ord for Block<T>
Source§impl<T: PartialOrd> PartialOrd for Block<T>
impl<T: PartialOrd> PartialOrd for Block<T>
impl<T: Eq> Eq for Block<T>
impl<T> StructuralPartialEq for Block<T>
Auto Trait Implementations§
impl<T> Freeze for Block<T>where
T: Freeze,
impl<T> RefUnwindSafe for Block<T>where
T: RefUnwindSafe,
impl<T> Send for Block<T>where
T: Send,
impl<T> Sync for Block<T>where
T: Sync,
impl<T> Unpin for Block<T>where
T: Unpin,
impl<T> UnwindSafe for Block<T>where
T: UnwindSafe,
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