Struct If
pub struct If<'a> {
condition: Condition<'a>,
then_stmts: Statements<'a>,
else_stmts: Statements<'a>,
}Fields§
§condition: Condition<'a>§then_stmts: Statements<'a>§else_stmts: Statements<'a>Implementations§
Trait Implementations§
§impl<'de: 'a, 'a> Deserialize<'de> for If<'a>
impl<'de: 'a, 'a> Deserialize<'de> for If<'a>
§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<'a> Freeze for If<'a>
impl<'a> RefUnwindSafe for If<'a>
impl<'a> Send for If<'a>
impl<'a> Sync for If<'a>
impl<'a> Unpin for If<'a>
impl<'a> UnwindSafe for If<'a>
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