[][src]Crate as_is

Development in progress

This crate provides a trait AsIs and an enum Is<'a, T>.

Enums

Is

Represents an owned, an immutably borrowed, or a mutably borrowed data.

IsCow

Represents an owned or an immutably borrowed data.

IsMut

Represents an owned or a mutably borrowed data.

Traits

AsIs

Used to do a cheap conversion into Is<'a, T> in a generic context.

IsOwned

Owned types.

IsRef

Reference types.

IsRefMut

Mutable reference types.

Type Definitions

Owned

The resulting type after obtaining ownership.