pub struct PortalBox {
pub id: WidgetId,
pub slot: Box<PortalBoxSlot, Global>,
pub owner: WidgetId,
}
Fields§
§id: WidgetId
§slot: Box<PortalBoxSlot, Global>
§owner: WidgetId
Trait Implementations§
source§impl<'de> Deserialize<'de> for PortalBox
impl<'de> Deserialize<'de> for PortalBox
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PortalBox, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PortalBox, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for PortalBox
impl Serialize for PortalBox
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<PortalBoxNode> for PortalBox
impl TryFrom<PortalBoxNode> for PortalBox
source§impl WidgetUnitData for PortalBox
impl WidgetUnitData for PortalBox
fn id(&self) -> &WidgetId
fn get_children(&self) -> Vec<&WidgetUnit, Global>
Auto Trait Implementations§
impl RefUnwindSafe for PortalBox
impl Send for PortalBox
impl Sync for PortalBox
impl Unpin for PortalBox
impl UnwindSafe for PortalBox
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