pub enum Shape {
Record(Arc<RecordShape>),
Enum(Arc<EnumShape>),
}Expand description
The shape a role’s declaration has, when it is a record or an enum.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Shape
impl Freeze for Shapewhere
*const ArcInner<RecordShape> is !null: Freeze,
PhantomData<ArcInner<RecordShape>>: Freeze,
*const ArcInner<EnumShape> is !null: Freeze,
PhantomData<ArcInner<EnumShape>>: Freeze,
impl Move for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shapewhere
*const ArcInner<RecordShape> is !null: UnsafeUnpin,
PhantomData<ArcInner<RecordShape>>: UnsafeUnpin,
*const ArcInner<EnumShape> is !null: UnsafeUnpin,
PhantomData<ArcInner<EnumShape>>: UnsafeUnpin,
impl UnwindSafe for Shape
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