pub struct ZlibDecompress;
Expand description
Decompresses a given string using zlib, first decoding it from Base64.
§Arguments
- The string to decompress. Must be valid Base64.
Trait Implementations§
Source§impl Clone for ZlibDecompress
impl Clone for ZlibDecompress
Source§fn clone(&self) -> ZlibDecompress
fn clone(&self) -> ZlibDecompress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Macro for ZlibDecompress
impl Macro for ZlibDecompress
Source§fn description(&self) -> &str
fn description(&self) -> &str
The macro’s description.
Source§fn eval<'arg, 'reg: 'arg, 'exec: 'reg>(
&self,
_x: &'exec Executor,
_v: &'reg mut VariableRegistry,
_r: &mut Xoshiro128PlusPlus,
args: &mut dyn Iterator<Item = &'arg [u8]>,
) -> Result<Cow<'static, [u8]>, MacroError>
fn eval<'arg, 'reg: 'arg, 'exec: 'reg>( &self, _x: &'exec Executor, _v: &'reg mut VariableRegistry, _r: &mut Xoshiro128PlusPlus, args: &mut dyn Iterator<Item = &'arg [u8]>, ) -> Result<Cow<'static, [u8]>, MacroError>
Evaluates the macro.
impl Copy for ZlibDecompress
Auto Trait Implementations§
impl Freeze for ZlibDecompress
impl RefUnwindSafe for ZlibDecompress
impl Send for ZlibDecompress
impl Sync for ZlibDecompress
impl Unpin for ZlibDecompress
impl UnwindSafe for ZlibDecompress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more