pub struct WireType {
pub swift_name: String,
pub shape: &'static Shape,
}Expand description
A wire type to generate Swift code for.
Fields§
§swift_name: StringThe Swift name for this type (e.g. “MessageV7”, “HelloV7”)
shape: &'static ShapeThe facet Shape for this type
Auto Trait Implementations§
impl Freeze for WireType
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnsafeUnpin for WireType
impl UnwindSafe for WireType
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