pub struct TextAdapter {
pub style: TextStyle,
pub seed: u64,
}Fields§
§style: TextStyle§seed: u64Implementations§
Trait Implementations§
Source§impl RefrainAdapter for TextAdapter
impl RefrainAdapter for TextAdapter
fn name(&self) -> &str
fn emit( &self, refrain: &ExtractedRefrain<'_>, _ctx: &EmitCtx, ) -> Result<Vec<u8>, AdapterErr>
fn capabilities(&self) -> AdapterCaps
Auto Trait Implementations§
impl Freeze for TextAdapter
impl RefUnwindSafe for TextAdapter
impl Send for TextAdapter
impl Sync for TextAdapter
impl Unpin for TextAdapter
impl UnsafeUnpin for TextAdapter
impl UnwindSafe for TextAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more