pub struct Binary<'a> { /* private fields */ }Implementations§
Source§impl<'a> Binary<'a>
impl<'a> Binary<'a>
pub fn new(bytes: &'a [u8]) -> Self
pub fn with_config(self, config: CaberConfig) -> Self
pub fn to_javascript(&self) -> String
pub fn to_typescript(&self) -> String
pub fn to_ecmascript(&self) -> String
Trait Implementations§
impl<'a> Copy for Binary<'a>
Auto Trait Implementations§
impl<'a> Freeze for Binary<'a>
impl<'a> RefUnwindSafe for Binary<'a>
impl<'a> Send for Binary<'a>
impl<'a> Sync for Binary<'a>
impl<'a> Unpin for Binary<'a>
impl<'a> UnwindSafe for Binary<'a>
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