pub struct Initializer<D>where
D: DocReference,{ /* private fields */ }
Expand description
An initializer defines how to construct a struct
Implementations§
Source§impl<D> Initializer<D>where
D: DocReference,
impl<D> Initializer<D>where
D: DocReference,
pub fn collides_with(&self, other: &Self) -> bool
pub fn full(initializer_type: InitializerType, doc: Doc<D>) -> Self
Trait Implementations§
Source§impl<D> Clone for Initializer<D>where
D: DocReference + Clone,
impl<D> Clone for Initializer<D>where
D: DocReference + Clone,
Source§fn clone(&self) -> Initializer<D>
fn clone(&self) -> Initializer<D>
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 moreAuto Trait Implementations§
impl<D> Freeze for Initializer<D>
impl<D> RefUnwindSafe for Initializer<D>where
D: RefUnwindSafe,
impl<D> !Send for Initializer<D>
impl<D> !Sync for Initializer<D>
impl<D> Unpin for Initializer<D>where
D: Unpin,
impl<D> UnwindSafe for Initializer<D>where
D: UnwindSafe,
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