pub struct TaskArenaOptions {
pub use_huge_pages: bool,
pub preinitialize_tasks: bool,
}Fields§
§use_huge_pages: bool§preinitialize_tasks: boolImplementations§
Source§impl TaskArenaOptions
impl TaskArenaOptions
pub fn new(use_huge_pages: bool, preinitialize_tasks: bool) -> Self
pub fn with_huge_pages(self, huge_pages: bool) -> Self
pub fn with_preinitialized_tasks(self, enabled: bool) -> Self
Trait Implementations§
Source§impl Clone for TaskArenaOptions
impl Clone for TaskArenaOptions
Source§fn clone(&self) -> TaskArenaOptions
fn clone(&self) -> TaskArenaOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskArenaOptions
impl Debug for TaskArenaOptions
Source§impl Default for TaskArenaOptions
impl Default for TaskArenaOptions
impl Copy for TaskArenaOptions
Auto Trait Implementations§
impl Freeze for TaskArenaOptions
impl RefUnwindSafe for TaskArenaOptions
impl Send for TaskArenaOptions
impl Sync for TaskArenaOptions
impl Unpin for TaskArenaOptions
impl UnwindSafe for TaskArenaOptions
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