Enum psm::StackDirection
source · pub enum StackDirection {
Ascending,
Descending,
}
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<StackDirection> for StackDirection
impl PartialEq<StackDirection> for StackDirection
source§fn eq(&self, other: &StackDirection) -> bool
fn eq(&self, other: &StackDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StackDirection
impl Eq for StackDirection
impl StructuralEq for StackDirection
impl StructuralPartialEq for StackDirection
Auto Trait Implementations§
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