[−][src]Enum cddl_cat::ast::Type1
A CDDL type, with an additional range or control operator.
CDDL ABNF grammar:
type1 = type2 [S (rangeop / ctlop) S type2]
Variants
Simple(Type2)
A Type1
containing only a Type2
with no operators
Range(TypeRange)
A range (e.g. 1..10
)
Control(TypeControl)
A type with a control operator attached (e.g. bstr .size 32
)
Trait Implementations
impl Debug for Type1
[src]
impl PartialEq<Type1> for Type1
[src]
impl StructuralPartialEq for Type1
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type1
impl Send for Type1
impl Sync for Type1
impl Unpin for Type1
impl UnwindSafe for Type1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,