[][src]Trait swim_mem::resident::ResidentAdd

pub trait ResidentAdd<L: Lease, Rhs = Self>: Resident {
    type Output;
    fn resident_add(lease: L, rhs: Rhs) -> Self::Output;
}

A + operable Resident of a raw memory Lease.

Associated Types

type Output

The resulting type of applying the + operator.

Loading content...

Required methods

fn resident_add(lease: L, rhs: Rhs) -> Self::Output

Returns the addition of rhs to the resident of the lease.

Loading content...

Implementors

impl<'a, 'b, L: DynamicLease<'a, Data = u8, Meta = BufHeader<M>>, M> ResidentAdd<L, &'b str> for String<M>[src]

type Output = L

Loading content...