pub enum GeneratorRole {
ServerSide,
ClientSide,
}Expand description
Code generator role
Variants§
ServerSide
Generate export-side code for exports
ClientSide
Generate dependency-side code for dependencies
Trait Implementations§
Source§impl Clone for GeneratorRole
impl Clone for GeneratorRole
Source§fn clone(&self) -> GeneratorRole
fn clone(&self) -> GeneratorRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GeneratorRole
Source§impl Debug for GeneratorRole
impl Debug for GeneratorRole
impl Eq for GeneratorRole
Source§impl PartialEq for GeneratorRole
impl PartialEq for GeneratorRole
Source§fn eq(&self, other: &GeneratorRole) -> bool
fn eq(&self, other: &GeneratorRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeneratorRole
Auto Trait Implementations§
impl Freeze for GeneratorRole
impl RefUnwindSafe for GeneratorRole
impl Send for GeneratorRole
impl Sync for GeneratorRole
impl Unpin for GeneratorRole
impl UnsafeUnpin for GeneratorRole
impl UnwindSafe for GeneratorRole
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