pub struct TreadFlightRequest { /* private fields */ }Expand description
A request for an object’s stair flight, with where its walking line runs should it turn. A straight flight’s goings are the same on every line along it, so it ignores the placement.
Implementations§
Source§impl TreadFlightRequest
impl TreadFlightRequest
Sourcepub fn new(object: ObjectId) -> Self
pub fn new(object: ObjectId) -> Self
The flight of object, its walking line on its centre line.
Sourcepub fn from_inner_side(
object: ObjectId,
offset: f64,
) -> Result<Self, WalkingSurfaceError>
pub fn from_inner_side( object: ObjectId, offset: f64, ) -> Result<Self, WalkingSurfaceError>
The flight of object, its walking line offset metres from the
side it turns towards. The offset must be finite and positive.
Sourcepub fn walking_line(&self) -> WalkingLinePlacement
pub fn walking_line(&self) -> WalkingLinePlacement
Where the walking line runs.
Trait Implementations§
Source§impl Clone for TreadFlightRequest
impl Clone for TreadFlightRequest
Source§impl Debug for TreadFlightRequest
impl Debug for TreadFlightRequest
Source§impl PartialEq for TreadFlightRequest
impl PartialEq for TreadFlightRequest
impl StructuralPartialEq for TreadFlightRequest
Auto Trait Implementations§
impl Freeze for TreadFlightRequest
impl RefUnwindSafe for TreadFlightRequest
impl Send for TreadFlightRequest
impl Sync for TreadFlightRequest
impl Unpin for TreadFlightRequest
impl UnsafeUnpin for TreadFlightRequest
impl UnwindSafe for TreadFlightRequest
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