pub struct SwitchTo {
pub next_pid: usize,
pub x: usize,
pub y: usize,
}Fields§
§next_pid: usize§x: usize§y: usizeTrait Implementations§
Source§impl FromScalar<3> for SwitchTo
impl FromScalar<3> for SwitchTo
fn from_scalar([pid, x, y]: [u32; 3]) -> Self
Auto Trait Implementations§
impl Freeze for SwitchTo
impl RefUnwindSafe for SwitchTo
impl Send for SwitchTo
impl Sync for SwitchTo
impl Unpin for SwitchTo
impl UnwindSafe for SwitchTo
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.