pub struct ThreadOptions {
pub name: String,
pub stack_size: Option<usize>,
}Expand description
Options when spawning an event loop thread.
Fields§
§name: StringThe name of the child thread.
stack_size: Option<usize>The stack size, in bytes, for the child thread.
Implementations§
Source§impl ThreadOptions
impl ThreadOptions
Trait Implementations§
Source§impl Clone for ThreadOptions
impl Clone for ThreadOptions
Source§fn clone(&self) -> ThreadOptions
fn clone(&self) -> ThreadOptions
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 ThreadOptions
impl Debug for ThreadOptions
Source§impl PartialEq for ThreadOptions
impl PartialEq for ThreadOptions
impl Eq for ThreadOptions
impl StructuralPartialEq for ThreadOptions
Auto Trait Implementations§
impl Freeze for ThreadOptions
impl RefUnwindSafe for ThreadOptions
impl Send for ThreadOptions
impl Sync for ThreadOptions
impl Unpin for ThreadOptions
impl UnwindSafe for ThreadOptions
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