Trait matterdb::access::AsReadonly[][src]

pub trait AsReadonly: RawAccess {
    type Readonly: RawAccess;
    fn as_readonly(&self) -> Self::Readonly;
}

Converts index access to a readonly presentation. The conversion operation is cheap.

Associated Types

type Readonly: RawAccess[src]

Readonly version of the access.

Loading content...

Required methods

fn as_readonly(&self) -> Self::Readonly[src]

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl AsReadonly for Rc<Fork>[src]

impl AsReadonly for &Box<dyn Snapshot>[src]

type Readonly = Self

impl AsReadonly for Rc<dyn Snapshot>[src]

type Readonly = Self

impl AsReadonly for Arc<dyn Snapshot>[src]

type Readonly = Self

Loading content...

Implementors

impl AsReadonly for &Patch[src]

type Readonly = Self

impl AsReadonly for &dyn Snapshot[src]

type Readonly = Self

impl AsReadonly for GenericRawAccess<'_>[src]

type Readonly = Self

impl AsReadonly for OwnedReadonlyFork[src]

type Readonly = Self

impl<'a> AsReadonly for &'a Fork[src]

type Readonly = ReadonlyFork<'a>

impl<'a> AsReadonly for ReadonlyFork<'a>[src]

type Readonly = Self

Loading content...