pub struct PYNewtype {
pub doc: Option<PYDoc>,
pub name: PYIdentifier,
pub primitive: PYPrimitive,
}
Fields§
§doc: Option<PYDoc>
§name: PYIdentifier
§primitive: PYPrimitive
Trait Implementations§
Source§impl From<PYNewtype> for PYDefinition
impl From<PYNewtype> for PYDefinition
Source§impl PYContextResolve for PYNewtype
impl PYContextResolve for PYNewtype
fn resolve<Context>(self, context: &mut Context) -> Selfwhere
Context: PYContext,
impl StructuralPartialEq for PYNewtype
Auto Trait Implementations§
impl Freeze for PYNewtype
impl RefUnwindSafe for PYNewtype
impl Send for PYNewtype
impl Sync for PYNewtype
impl Unpin for PYNewtype
impl UnwindSafe for PYNewtype
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