Trait lrs::string::AsByteStr

Objects that can be borrowed as a byte string.

Syntax

trait AsByteStr {
    /* Required methods */
    fn as_byte_str(&self) -> &ByteStr
}

Methods

ReceiverNameDescription
&selfas_byte_str

Borrows the object as a byte string.

Remarks

This will likely be replaced by type ascription.