pub enum StackDirection {
Ascending = 1,
Descending = 2,
}
Expand description
The direction into which stack grows as stack frames are made.
This is a target-specific property that can be obtained at runtime by calling
StackDirection::new()
.
Variants§
Implementations§
Source§impl StackDirection
impl StackDirection
Sourcepub fn new() -> StackDirection
pub fn new() -> StackDirection
Obtain the stack growth direction.
Trait Implementations§
Source§impl Clone for StackDirection
impl Clone for StackDirection
Source§fn clone(&self) -> StackDirection
fn clone(&self) -> StackDirection
Returns a copy 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 StackDirection
impl Debug for StackDirection
Source§impl PartialEq for StackDirection
impl PartialEq for StackDirection
impl Copy for StackDirection
impl Eq for StackDirection
impl StructuralPartialEq for StackDirection
Auto Trait Implementations§
impl Freeze for StackDirection
impl RefUnwindSafe for StackDirection
impl Send for StackDirection
impl Sync for StackDirection
impl Unpin for StackDirection
impl UnwindSafe for StackDirection
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