Struct rerun::external::re_data_source::DataLoaderSettings
source · pub struct DataLoaderSettings {
pub application_id: Option<ApplicationId>,
pub opened_application_id: Option<ApplicationId>,
pub store_id: StoreId,
pub opened_store_id: Option<StoreId>,
pub entity_path_prefix: Option<EntityPath>,
pub timepoint: Option<TimePoint>,
}
Expand description
Recommended settings for the DataLoader
.
The loader is free to ignore some or all of these.
External DataLoader
s will be passed the following CLI parameters:
--application-id <application_id>
--opened-application-id <opened_application_id>
(if set)--recording-id <store_id>
--opened-recording-id <opened_store_id>
(if set)--entity-path-prefix <entity_path_prefix>
(if set)--timeless
(iftimepoint
is set to the timeless timepoint)--time <timeline1>=<time1> <timeline2>=<time2> ...
(iftimepoint
contains temporal data)--sequence <timeline1>=<seq1> <timeline2>=<seq2> ...
(iftimepoint
contains sequence data)
Fields§
§application_id: Option<ApplicationId>
The recommended re_log_types::ApplicationId
to log the data to, based on the surrounding context.
opened_application_id: Option<ApplicationId>
The re_log_types::ApplicationId
that is currently opened in the viewer, if any.
store_id: StoreId
The recommended re_log_types::StoreId
to log the data to, based on the surrounding context.
Log data to this recording if you want it to appear in a new recording shared by all data-loaders for the current loading session.
opened_store_id: Option<StoreId>
The re_log_types::StoreId
that is currently opened in the viewer, if any.
entity_path_prefix: Option<EntityPath>
What should the logged entity paths be prefixed with?
timepoint: Option<TimePoint>
At what time(s) should the data be logged to?
Implementations§
source§impl DataLoaderSettings
impl DataLoaderSettings
pub fn recommended(store_id: impl Into<StoreId>) -> DataLoaderSettings
sourcepub fn to_cli_args(&self) -> Vec<String>
pub fn to_cli_args(&self) -> Vec<String>
Generates CLI flags from these settings, for external data loaders.
Trait Implementations§
source§impl Clone for DataLoaderSettings
impl Clone for DataLoaderSettings
source§fn clone(&self) -> DataLoaderSettings
fn clone(&self) -> DataLoaderSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DataLoaderSettings
impl RefUnwindSafe for DataLoaderSettings
impl Send for DataLoaderSettings
impl Sync for DataLoaderSettings
impl Unpin for DataLoaderSettings
impl UnwindSafe for DataLoaderSettings
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.