Struct ezno_parser::tsx_keywords::Generator
source · pub struct Generator;
Expand description
https://github.com/tc39/proposal-generator-arrow-functions#introduce-new-generator-keyword-for-both-function-and-arrow-function
Trait Implementations§
source§impl From<Generator> for TSXKeyword
impl From<Generator> for TSXKeyword
source§impl PartialEq for Generator
impl PartialEq for Generator
source§impl TryFrom<TSXKeyword> for Generator
impl TryFrom<TSXKeyword> for Generator
§type Error = TSXKeyword
type Error = TSXKeyword
The type returned in the event of a conversion error.
impl Copy for Generator
impl Eq for Generator
impl StructuralEq for Generator
impl StructuralPartialEq for Generator
Auto Trait Implementations§
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
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