Enum cursive_core::view::Offset
source ·
[−]Expand description
Single-dimensional offset policy.
Variants
Center
In the center of the screen
Absolute(usize)
Tuple Fields
0: usize
Place top-left corner at the given absolute coordinates
Parent(isize)
Tuple Fields
0: isize
Offset from the previous layer’s top-left corner.
If this is the first layer, behaves like Absolute
.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Offset
impl UnwindSafe for Offset
Blanket Implementations
Mutably borrows from an owned value. Read more