pub struct VgpuSchedulerParams {
pub timeslice: u32,
pub avg_factor: Option<u32>,
}Fields§
§timeslice: u32§avg_factor: Option<u32>Trait Implementations§
Source§impl Clone for VgpuSchedulerParams
impl Clone for VgpuSchedulerParams
Source§fn clone(&self) -> VgpuSchedulerParams
fn clone(&self) -> VgpuSchedulerParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VgpuSchedulerParams
impl Debug for VgpuSchedulerParams
Source§impl Hash for VgpuSchedulerParams
impl Hash for VgpuSchedulerParams
Source§impl PartialEq for VgpuSchedulerParams
impl PartialEq for VgpuSchedulerParams
Source§fn eq(&self, other: &VgpuSchedulerParams) -> bool
fn eq(&self, other: &VgpuSchedulerParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VgpuSchedulerParams
impl Eq for VgpuSchedulerParams
impl StructuralPartialEq for VgpuSchedulerParams
Auto Trait Implementations§
impl Freeze for VgpuSchedulerParams
impl RefUnwindSafe for VgpuSchedulerParams
impl Send for VgpuSchedulerParams
impl Sync for VgpuSchedulerParams
impl Unpin for VgpuSchedulerParams
impl UnsafeUnpin for VgpuSchedulerParams
impl UnwindSafe for VgpuSchedulerParams
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