pub struct ZshFor {
pub var: String,
pub list: ForList,
pub body: Box<ZshProgram>,
pub is_select: bool,
}Expand description
For loop
Fields§
§var: String§list: ForList§body: Box<ZshProgram>§is_select: boolTrue if this was parsed as select rather than for. Both share
the same parser, so the compiler routes on this flag.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZshFor
impl<'de> Deserialize<'de> for ZshFor
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
Auto Trait Implementations§
impl Freeze for ZshFor
impl RefUnwindSafe for ZshFor
impl Send for ZshFor
impl Sync for ZshFor
impl Unpin for ZshFor
impl UnsafeUnpin for ZshFor
impl UnwindSafe for ZshFor
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