Trait gtfs_structures::Type

source ·
pub trait Type {
    // Required method
    fn object_type(&self) -> ObjectType;
}
Expand description

Trait to introspect what is the object’s type (stop, route…)

Required Methods§

source

fn object_type(&self) -> ObjectType

What is the type of the object

Implementations on Foreign Types§

source§

impl<T: Type> Type for Arc<T>

Implementors§