pub struct ParentWrite {
pub child: NativeId,
pub parent: Option<NativeId>,
pub if_version: Option<String>,
}Expand description
One parent write: child’s parent set to parent, or removed for None.
Fields§
§child: NativeIdThe task whose parent is written.
parent: Option<NativeId>Its new parent, a task of the same source, or None to remove the one it has.
if_version: Option<String>The version the child must be at for anything to be written.
Trait Implementations§
Source§impl Clone for ParentWrite
impl Clone for ParentWrite
Source§impl Debug for ParentWrite
impl Debug for ParentWrite
impl Eq for ParentWrite
Source§impl PartialEq for ParentWrite
impl PartialEq for ParentWrite
impl StructuralPartialEq for ParentWrite
Auto Trait Implementations§
impl Forget for ParentWrite
impl Freeze for ParentWrite
impl Move for ParentWrite
impl RefUnwindSafe for ParentWrite
impl Send for ParentWrite
impl Sync for ParentWrite
impl Unpin for ParentWrite
impl UnsafeUnpin for ParentWrite
impl UnwindSafe for ParentWrite
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