pub struct ComponentTasks {
pub component_task: Option<Task>,
pub parent_task: Option<Task>,
}
Fields§
§component_task: Option<Task>
§parent_task: Option<Task>
Trait Implementations§
Source§impl Debug for ComponentTasks
impl Debug for ComponentTasks
Source§impl Encodable for ComponentTasks
impl Encodable for ComponentTasks
Source§type Encoded = WireComponentTasks
type Encoded = WireComponentTasks
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ComponentTaskswhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ComponentTaskswhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireComponentTasks> for ComponentTasks
impl TakeFrom<WireComponentTasks> for ComponentTasks
Source§fn take_from(from: &WireComponentTasks) -> Self
fn take_from(from: &WireComponentTasks) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ComponentTasks
impl RefUnwindSafe for ComponentTasks
impl Send for ComponentTasks
impl Sync for ComponentTasks
impl Unpin for ComponentTasks
impl UnwindSafe for ComponentTasks
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