pub struct EntityTraitImplGenerator;Implementations§
Source§impl EntityTraitImplGenerator
impl EntityTraitImplGenerator
pub fn generate( &self, db_type: &DatabaseType, table_def: &TableDef<'_>, ) -> TokenStream
Trait Implementations§
Source§impl Clone for EntityTraitImplGenerator
impl Clone for EntityTraitImplGenerator
Source§fn clone(&self) -> EntityTraitImplGenerator
fn clone(&self) -> EntityTraitImplGenerator
Returns a duplicate 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 EntityTraitImplGenerator
impl Debug for EntityTraitImplGenerator
Source§impl Default for EntityTraitImplGenerator
impl Default for EntityTraitImplGenerator
Source§fn default() -> EntityTraitImplGenerator
fn default() -> EntityTraitImplGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntityTraitImplGenerator
impl RefUnwindSafe for EntityTraitImplGenerator
impl Send for EntityTraitImplGenerator
impl Sync for EntityTraitImplGenerator
impl Unpin for EntityTraitImplGenerator
impl UnwindSafe for EntityTraitImplGenerator
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