pub(crate) struct CustomTransforms<'a> {
meta: &'a [u32],
blob: &'a [u8],
}Fields§
§meta: &'a [u32]§blob: &'a [u8]Implementations§
Source§impl<'a> CustomTransforms<'a>
impl<'a> CustomTransforms<'a>
fn num_transforms(&self) -> i32
fn cutoff_identity(&self) -> i32
fn stringlet(&self, id: u8) -> &'a [u8] ⓘ
fn transform_triplet(&self, idx: i32) -> TransformTriplet
fn param(&self, idx: i32) -> u16
fn apply( &self, dst: &mut [u8], word: &[u8], len: i32, transform_idx: i32, ) -> i32
Trait Implementations§
Source§impl<'a> Clone for CustomTransforms<'a>
impl<'a> Clone for CustomTransforms<'a>
Source§fn clone(&self) -> CustomTransforms<'a>
fn clone(&self) -> CustomTransforms<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for CustomTransforms<'a>
Auto Trait Implementations§
impl<'a> Freeze for CustomTransforms<'a>
impl<'a> RefUnwindSafe for CustomTransforms<'a>
impl<'a> Send for CustomTransforms<'a>
impl<'a> Sync for CustomTransforms<'a>
impl<'a> Unpin for CustomTransforms<'a>
impl<'a> UnsafeUnpin for CustomTransforms<'a>
impl<'a> UnwindSafe for CustomTransforms<'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