pub enum Link {
Nothing,
ToA {
partition_idx: u8,
},
ToOwner {
partition_idx: u8,
},
}Expand description
Kinds of linked partition
Variants§
Nothing
Not linked to anything
ToA
This is a B partition - link to our A partition.
ToOwner
Link to the partition that owns this one.
Trait Implementations§
impl Copy for Link
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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