Struct adi::Text [−][src]
pub struct Text { /* fields omitted */ }
Some text.
Methods
impl Text
[src]
impl Text
pub fn new(bytes: Vec<u8>) -> Text
[src]
pub fn new(bytes: Vec<u8>) -> Text
Create a new Text
from bytes.
pub fn bytes(&self) -> &[u8]
[src]
pub fn bytes(&self) -> &[u8]
Get bytes from the Text
.