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
sourceimpl<'de> Deserialize<'de> for PortalBox
impl<'de> Deserialize<'de> for PortalBox
sourcefn 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
sourceimpl Serialize for PortalBox
impl Serialize for PortalBox
sourcefn 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
sourceimpl TryFrom<PortalBoxNode> for PortalBox
impl TryFrom<PortalBoxNode> for PortalBox
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more