Trait compose_spec::AsShort
source · pub trait AsShort {
type Short: ?Sized;
// Required method
fn as_short(&self) -> Option<&Self::Short>;
}Expand description
Trait for types that represent a long syntax which could also be represented in a short syntax.
Required Associated Types§
sourcetype Short: ?Sized
type Short: ?Sized
The short syntax type, returned from as_short().