pub struct AdapterRule { /* private fields */ }Implementations§
Source§impl AdapterRule
impl AdapterRule
pub const fn automatic(name: &'static str, adapter: AutoObjectScalar) -> Self
pub const fn object( name: &'static str, kind: Option<&'static str>, operation: ObjectOperation, native: Option<&'static str>, ) -> Self
pub const fn create(name: &'static str, kind: &'static str) -> Self
pub const fn custom(name: &'static str, handler: &'static str) -> Self
Trait Implementations§
Source§impl Clone for AdapterRule
impl Clone for AdapterRule
Source§fn clone(&self) -> AdapterRule
fn clone(&self) -> AdapterRule
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 AdapterRule
impl Debug for AdapterRule
impl Copy for AdapterRule
Auto Trait Implementations§
impl Freeze for AdapterRule
impl RefUnwindSafe for AdapterRule
impl Send for AdapterRule
impl Sync for AdapterRule
impl Unpin for AdapterRule
impl UnsafeUnpin for AdapterRule
impl UnwindSafe for AdapterRule
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