pub enum BlockItem {
Declaration(Declaration),
Statement(Statement),
}Expand description
Block item
Variants§
Declaration(Declaration)
Statement(Statement)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockItem
impl<'de> Deserialize<'de> for BlockItem
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
impl StructuralPartialEq for BlockItem
Auto Trait Implementations§
impl Freeze for BlockItem
impl RefUnwindSafe for BlockItem
impl Send for BlockItem
impl Sync for BlockItem
impl Unpin for BlockItem
impl UnwindSafe for BlockItem
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