pub enum ResolutionStrategy {
Intelligent,
Boxing,
ForwardDeclarations,
OptionalBreaking,
ReferenceCounted,
}Variants§
Intelligent
Try boxing first, then forward declarations
Boxing
Always use Box
ForwardDeclarations
Always use forward declarations
OptionalBreaking
Make circular references optional
ReferenceCounted
Use reference counting for complex cycles
Trait Implementations§
Source§impl Clone for ResolutionStrategy
impl Clone for ResolutionStrategy
Source§fn clone(&self) -> ResolutionStrategy
fn clone(&self) -> ResolutionStrategy
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 ResolutionStrategy
impl Debug for ResolutionStrategy
Source§impl Default for ResolutionStrategy
impl Default for ResolutionStrategy
Source§fn default() -> ResolutionStrategy
fn default() -> ResolutionStrategy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolutionStrategy
impl RefUnwindSafe for ResolutionStrategy
impl Send for ResolutionStrategy
impl Sync for ResolutionStrategy
impl Unpin for ResolutionStrategy
impl UnsafeUnpin for ResolutionStrategy
impl UnwindSafe for ResolutionStrategy
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