pub enum ChildList {
Static(Vec<ComponentId>),
Template(ChildTemplate),
}Expand description
子组件列表 - 静态数组或动态模板
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChildList
impl<'de> Deserialize<'de> for ChildList
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 ChildList
Auto Trait Implementations§
impl Freeze for ChildList
impl RefUnwindSafe for ChildList
impl Send for ChildList
impl Sync for ChildList
impl Unpin for ChildList
impl UnsafeUnpin for ChildList
impl UnwindSafe for ChildList
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