pub struct SegmentSpecification {
pub distance_from_head: f64,
pub segment: LuaEntityPrototype,
}Expand description
A runtime representation of SegmentSpecification.
Fields§
§distance_from_head: f64§segment: LuaEntityPrototypeTrait Implementations§
Source§impl Clone for SegmentSpecification
impl Clone for SegmentSpecification
Source§fn clone(&self) -> SegmentSpecification
fn clone(&self) -> SegmentSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SegmentSpecification
Source§impl Debug for SegmentSpecification
impl Debug for SegmentSpecification
Source§impl Default for SegmentSpecification
impl Default for SegmentSpecification
Source§fn default() -> SegmentSpecification
fn default() -> SegmentSpecification
Returns the “default value” for a type. Read more
Source§impl PartialEq for SegmentSpecification
impl PartialEq for SegmentSpecification
impl StructuralPartialEq for SegmentSpecification
Auto Trait Implementations§
impl Freeze for SegmentSpecification
impl RefUnwindSafe for SegmentSpecification
impl Send for SegmentSpecification
impl Sync for SegmentSpecification
impl Unpin for SegmentSpecification
impl UnsafeUnpin for SegmentSpecification
impl UnwindSafe for SegmentSpecification
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