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 ==
.