pub struct Dataset { /* private fields */ }Implementations§
Source§impl Dataset
impl Dataset
pub fn load<P>(version: &str, dataset_dir: P) -> Result<Self>
pub fn attribute(&self, token: Token) -> Option<AttributeRef>
pub fn calibrated_sensor(&self, token: Token) -> Option<CalibratedSensorRef>
pub fn category(&self, token: Token) -> Option<CategoryRef>
pub fn ego_pose(&self, token: Token) -> Option<EgoPoseRef>
pub fn instance(&self, token: Token) -> Option<InstanceRef>
pub fn log(&self, token: Token) -> Option<LogRef>
pub fn map(&self, token: Token) -> Option<MapRef>
pub fn scene(&self, token: Token) -> Option<SceneRef>
pub fn sample(&self, token: Token) -> Option<SampleRef>
pub fn sample_annotation(&self, token: Token) -> Option<SampleAnnotationRef>
pub fn sample_data(&self, token: Token) -> Option<SampleDataRef>
pub fn sensor(&self, token: Token) -> Option<SensorRef>
pub fn visibility(&self, token: VisibilityToken) -> Option<VisibilityRef>
Source§impl Dataset
impl Dataset
pub fn attribute_iter( &self, ) -> impl Iterator<Item = AttributeRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn calibrated_sensor_iter( &self, ) -> impl Iterator<Item = CalibratedSensorRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn category_iter( &self, ) -> impl Iterator<Item = CategoryRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn ego_pose_iter( &self, ) -> impl Iterator<Item = EgoPoseRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn instance_iter( &self, ) -> impl Iterator<Item = InstanceRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn sample_annotation_iter( &self, ) -> impl Iterator<Item = SampleAnnotationRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn sample_data_iter( &self, ) -> impl Iterator<Item = SampleDataRef> + Send + Sync + '_
Source§impl Dataset
impl Dataset
pub fn visibility_iter( &self, ) -> impl Iterator<Item = VisibilityRef> + Send + Sync + '_
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dataset
impl RefUnwindSafe for Dataset
impl Send for Dataset
impl Sync for Dataset
impl Unpin for Dataset
impl UnwindSafe for Dataset
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
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