pub struct TypeString {
pub docs: Option<Docs>,
pub value: &'static str,
}
Expand description
A TypeScript type-level string literal.
Fields§
§docs: Option<Docs>
The documentation for this type string.
value: &'static str
The value of this literal.
Trait Implementations§
Source§impl Clone for TypeString
impl Clone for TypeString
Source§fn clone(&self) -> TypeString
fn clone(&self) -> TypeString
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TypeString
impl Debug for TypeString
impl Copy for TypeString
Auto Trait Implementations§
impl Freeze for TypeString
impl RefUnwindSafe for TypeString
impl Send for TypeString
impl Sync for TypeString
impl Unpin for TypeString
impl UnwindSafe for TypeString
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