pub trait DataAccessDyn {
    // Required methods
    fn borrows(&self) -> SmallVec<[TypeId; 8]>;
    fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>;
}
Expand description

Data accessed by this type.

Required Methods§

source

fn borrows(&self) -> SmallVec<[TypeId; 8]>

Returns the TypeIds of borrowed arguments.

source

fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>

Returns the TypeIds of mutably borrowed arguments.

Implementations on Foreign Types§

source§

impl DataAccessDyn for ()

source§

fn borrows(&self) -> SmallVec<[TypeId; 8]>
where (): Sized,

source§

fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>
where (): Sized,

source§

impl<'any> DataAccessDyn for &'any ()

source§

fn borrows(&self) -> SmallVec<[TypeId; 8]>
where &'any (): Sized,

source§

fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>
where &'any (): Sized,

source§

impl<'read, T> DataAccessDyn for Ref<'read, T>
where T: 'static,

source§

fn borrows(&self) -> SmallVec<[TypeId; 8]>

source§

fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>

source§

impl<'read, T> DataAccessDyn for RefMut<'read, T>
where T: 'static,

source§

fn borrows(&self) -> SmallVec<[TypeId; 8]>

source§

fn borrow_muts(&self) -> SmallVec<[TypeId; 8]>

Implementors§

source§

impl<'borrow, T> DataAccessDyn for RMaybe<'borrow, T>
where T: Debug + Send + Sync + 'static,

source§

impl<'borrow, T> DataAccessDyn for WMaybe<'borrow, T>
where T: Debug + Send + Sync + 'static,