#[repr(C)]pub struct LanePlane {
pub primary_offset: u32,
pub primary: i32,
pub depth: i32,
pub bias: i32,
pub force_depth: u32,
pub forced_depth: i32,
pub capacity: u32,
}Expand description
Fields§
§primary_offset: u32Byte offset of the lane multiplied by primary: 0 for x, 4 for y.
primary: i32Multiplier of the lane at primary_offset.
depth: i32Multiplier of lane 2 (z).
bias: i32Constant added to the distance.
force_depth: u32Non-zero to overwrite lane 2 of every crossing with forced_depth.
forced_depth: i32The value for lane 2 of a crossing when force_depth is set.
capacity: u32Vertices the destination can hold.
Implementations§
Trait Implementations§
impl Copy for LanePlane
impl Eq for LanePlane
impl StructuralPartialEq for LanePlane
Auto Trait Implementations§
impl Freeze for LanePlane
impl RefUnwindSafe for LanePlane
impl Send for LanePlane
impl Sync for LanePlane
impl Unpin for LanePlane
impl UnsafeUnpin for LanePlane
impl UnwindSafe for LanePlane
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