Struct rea_rs::track::TrackDimensions
source · [−]pub struct TrackDimensions {
pub tcp_height: u32,
pub tcp_height_with_env: u32,
pub tcp_pos_y: u32,
pub mcp_pos_x: u32,
pub mcp_pos_y: u32,
pub mcp_width: u32,
pub mcp_height: u32,
}
Fields
tcp_height: u32
tcp_height_with_env: u32
tcp_pos_y: u32
mcp_pos_x: u32
mcp_pos_y: u32
mcp_width: u32
mcp_height: u32
Trait Implementations
sourceimpl Clone for TrackDimensions
impl Clone for TrackDimensions
sourcefn clone(&self) -> TrackDimensions
fn clone(&self) -> TrackDimensions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TrackDimensions
impl Debug for TrackDimensions
sourceimpl PartialEq<TrackDimensions> for TrackDimensions
impl PartialEq<TrackDimensions> for TrackDimensions
sourcefn eq(&self, other: &TrackDimensions) -> bool
fn eq(&self, other: &TrackDimensions) -> bool
impl Copy for TrackDimensions
impl Eq for TrackDimensions
impl StructuralEq for TrackDimensions
impl StructuralPartialEq for TrackDimensions
Auto Trait Implementations
impl RefUnwindSafe for TrackDimensions
impl Send for TrackDimensions
impl Sync for TrackDimensions
impl Unpin for TrackDimensions
impl UnwindSafe for TrackDimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more