Struct canadensis_dsdl_parser::VersionedType
source · [−]pub struct VersionedType<'i> {
pub path: Vec<&'i str>,
pub name: &'i str,
pub version: TypeVersion,
}
Expand description
A composite type with a name and version
Fields
path: Vec<&'i str>
The path segments before the type name, if any
name: &'i str
The name of the type
version: TypeVersion
The version of the type
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for VersionedType<'i>
impl<'i> Send for VersionedType<'i>
impl<'i> Sync for VersionedType<'i>
impl<'i> Unpin for VersionedType<'i>
impl<'i> UnwindSafe for VersionedType<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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