pub struct PortalBox {
pub id: WidgetId,
pub slot: Box<PortalBoxSlot>,
pub owner: WidgetId,
}
Fields§
§id: WidgetId
§slot: Box<PortalBoxSlot>
§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>
Auto Trait Implementations§
impl Freeze for PortalBox
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