pub struct TrajectoryConfig {
pub max_histories: u64,
pub max_points: usize,
}Expand description
Caps on what a TrajectoryRecorder keeps.
Fields§
§max_histories: u64Record histories with index < max_histories.
max_points: usizeKeep at most this many points per history, over all its tracks.
Trait Implementations§
Source§impl Clone for TrajectoryConfig
impl Clone for TrajectoryConfig
Source§fn clone(&self) -> TrajectoryConfig
fn clone(&self) -> TrajectoryConfig
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 TrajectoryConfig
Source§impl Debug for TrajectoryConfig
impl Debug for TrajectoryConfig
impl Eq for TrajectoryConfig
Source§impl PartialEq for TrajectoryConfig
impl PartialEq for TrajectoryConfig
impl StructuralPartialEq for TrajectoryConfig
Auto Trait Implementations§
impl Freeze for TrajectoryConfig
impl RefUnwindSafe for TrajectoryConfig
impl Send for TrajectoryConfig
impl Sync for TrajectoryConfig
impl Unpin for TrajectoryConfig
impl UnsafeUnpin for TrajectoryConfig
impl UnwindSafe for TrajectoryConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more