pub struct NewType<T> {
pub name: String,
pub doc: Option<String>,
pub ty: T,
pub public: bool,
}Fields§
§name: String§doc: Option<String>§ty: T§public: boolAuto Trait Implementations§
impl<T> Freeze for NewType<T>where
T: Freeze,
impl<T> RefUnwindSafe for NewType<T>where
T: RefUnwindSafe,
impl<T> Send for NewType<T>where
T: Send,
impl<T> Sync for NewType<T>where
T: Sync,
impl<T> Unpin for NewType<T>where
T: Unpin,
impl<T> UnwindSafe for NewType<T>where
T: 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