Struct geo_aid::script::unroll::CollectionNode
source · pub struct CollectionNode {
pub display: MaybeUnset<bool>,
pub children: Vec<Box<dyn Node>>,
}
Fields§
§display: MaybeUnset<bool>
§children: Vec<Box<dyn Node>>
Implementations§
source§impl CollectionNode
impl CollectionNode
pub fn new() -> Self
pub fn from_display(display: Properties, context: &CompileContext) -> Self
pub fn push<T: Node + 'static>(&mut self, node: T)
pub fn push_boxed(&mut self, node: Box<dyn Node>)
pub fn extend<T: Node + 'static, U: IntoIterator<Item = T>>(&mut self, nodes: U)
Trait Implementations§
source§impl Debug for CollectionNode
impl Debug for CollectionNode
source§impl Default for CollectionNode
impl Default for CollectionNode
Auto Trait Implementations§
impl !RefUnwindSafe for CollectionNode
impl !Send for CollectionNode
impl !Sync for CollectionNode
impl Unpin for CollectionNode
impl !UnwindSafe for CollectionNode
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
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more