pub struct IfBranch<T: ConvertInfo> {
pub condition: Option<T::JsExpression>,
pub child: Box<IRNode<T>>,
pub info: T::IfBranchType,
}
Fields§
§condition: Option<T::JsExpression>
§child: Box<IRNode<T>>
§info: T::IfBranchType
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for IfBranch<T>
impl<T> RefUnwindSafe for IfBranch<T>where
<T as ConvertInfo>::IfBranchType: RefUnwindSafe,
<T as ConvertInfo>::JsExpression: RefUnwindSafe,
<T as ConvertInfo>::CommentType: RefUnwindSafe,
<T as ConvertInfo>::TextType: RefUnwindSafe,
<T as ConvertInfo>::StrType: RefUnwindSafe,
impl<T> Send for IfBranch<T>where
<T as ConvertInfo>::IfBranchType: Send,
<T as ConvertInfo>::JsExpression: Send,
<T as ConvertInfo>::CommentType: Send,
<T as ConvertInfo>::TextType: Send,
<T as ConvertInfo>::StrType: Send,
impl<T> Sync for IfBranch<T>where
<T as ConvertInfo>::IfBranchType: Sync,
<T as ConvertInfo>::JsExpression: Sync,
<T as ConvertInfo>::CommentType: Sync,
<T as ConvertInfo>::TextType: Sync,
<T as ConvertInfo>::StrType: Sync,
impl<T> Unpin for IfBranch<T>
impl<T> UnwindSafe for IfBranch<T>where
<T as ConvertInfo>::IfBranchType: UnwindSafe,
<T as ConvertInfo>::JsExpression: UnwindSafe,
<T as ConvertInfo>::CommentType: UnwindSafe,
<T as ConvertInfo>::TextType: UnwindSafe,
<T as ConvertInfo>::StrType: 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