#[repr(C)]pub struct Element {
pub name: String,
pub props: Props,
pub element_id: u32,
pub typed_id: u32,
pub instances: RefList<Node>,
pub type_: ElementType,
pub connections_src: List<Connection>,
pub connections_dst: List<Connection>,
pub dom_node: Option<Ref<DomNode>>,
pub scene: Ref<Scene>,
}Fields§
§name: String§props: Props§element_id: u32§typed_id: u32§instances: RefList<Node>§type_: ElementType§connections_src: List<Connection>§connections_dst: List<Connection>§dom_node: Option<Ref<DomNode>>§scene: Ref<Scene>Implementations§
Auto Trait Implementations§
impl !Send for Element
impl !Sync for Element
impl Freeze for Element
impl RefUnwindSafe for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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