pub struct CratePaths {
pub core: TokenStream,
pub schema: TokenStream,
pub error: TokenStream,
}Expand description
CratePaths
Resolves crate roots for generated code. Internal icydb crates default to
direct crate names to avoid meta-crate cycles; other crates prefer the
public icydb:: facade. Env vars allow overrides:
ICYDB_CORE_CRATE, ICYDB_SCHEMA_CRATE, ICYDB_ERROR_CRATE.
Fields§
§core: TokenStream§schema: TokenStream§error: TokenStreamImplementations§
Source§impl CratePaths
impl CratePaths
Trait Implementations§
Source§impl Clone for CratePaths
impl Clone for CratePaths
Source§fn clone(&self) -> CratePaths
fn clone(&self) -> CratePaths
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 moreSource§impl Debug for CratePaths
impl Debug for CratePaths
Source§impl Default for CratePaths
impl Default for CratePaths
Source§fn default() -> CratePaths
fn default() -> CratePaths
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for CratePaths
impl !Sync for CratePaths
impl Freeze for CratePaths
impl RefUnwindSafe for CratePaths
impl Unpin for CratePaths
impl UnsafeUnpin for CratePaths
impl UnwindSafe for CratePaths
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