pub enum BaseSpec {
Primitive(Primitive),
String {
wide: bool,
bound: Option<u32>,
},
Message(TypeName),
}Expand description
The type of a field, before the messages it names are found.
Variants§
Trait Implementations§
impl Eq for BaseSpec
impl StructuralPartialEq for BaseSpec
Auto Trait Implementations§
impl Forget for BaseSpec
impl Freeze for BaseSpec
impl Move for BaseSpec
impl RefUnwindSafe for BaseSpec
impl Send for BaseSpecwhere
RawVecInner: Send,
impl Sync for BaseSpecwhere
RawVecInner: Sync,
impl Unpin for BaseSpec
impl UnsafeUnpin for BaseSpec
impl UnwindSafe for BaseSpecwhere
RawVecInner: UnwindSafe,
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