Enum pros_core::task::TaskStackDepth
source · #[repr(u32)]pub enum TaskStackDepth {
Default = 8_192,
Low = 512,
}Expand description
Represents how large of a stack the task should get. Tasks that don’t have any or many variables and/or don’t need floats can use the low stack depth option.
Variants§
Default = 8_192
The default stack depth.
Low = 512
Low task depth. Many tasks can get away with using this stack depth however the brain has enough memory that this usually isn’t necessary.
Trait Implementations§
source§impl Debug for TaskStackDepth
impl Debug for TaskStackDepth
source§impl Default for TaskStackDepth
impl Default for TaskStackDepth
source§fn default() -> TaskStackDepth
fn default() -> TaskStackDepth
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TaskStackDepth
impl Send for TaskStackDepth
impl Sync for TaskStackDepth
impl Unpin for TaskStackDepth
impl UnwindSafe for TaskStackDepth
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