pub struct EnginePolicy<E> { /* private fields */ }Expand description
Target-engine policy for dialect extension nodes.
Implementations§
Source§impl<E: Ord> EnginePolicy<E>
impl<E: Ord> EnginePolicy<E>
Sourcepub fn new(admitted_extensions: impl IntoIterator<Item = E>) -> Self
pub fn new(admitted_extensions: impl IntoIterator<Item = E>) -> Self
Creates a policy from exactly the extension operations an engine admits.
Trait Implementations§
Source§impl<E: Clone> Clone for EnginePolicy<E>
impl<E: Clone> Clone for EnginePolicy<E>
Source§fn clone(&self) -> EnginePolicy<E>
fn clone(&self) -> EnginePolicy<E>
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<E: Debug> Debug for EnginePolicy<E>
impl<E: Debug> Debug for EnginePolicy<E>
impl<E: Eq> Eq for EnginePolicy<E>
Source§impl<E: PartialEq> PartialEq for EnginePolicy<E>
impl<E: PartialEq> PartialEq for EnginePolicy<E>
impl<E: PartialEq> StructuralPartialEq for EnginePolicy<E>
Auto Trait Implementations§
impl<E> Freeze for EnginePolicy<E>
impl<E> RefUnwindSafe for EnginePolicy<E>where
E: RefUnwindSafe,
impl<E> Send for EnginePolicy<E>where
E: Send,
impl<E> Sync for EnginePolicy<E>where
E: Sync,
impl<E> Unpin for EnginePolicy<E>
impl<E> UnsafeUnpin for EnginePolicy<E>
impl<E> UnwindSafe for EnginePolicy<E>where
E: RefUnwindSafe,
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