From 3718a7e1c4150f6e5e1274cc75c47dbc921874bc Mon Sep 17 00:00:00 2001 From: Will Manning Date: Mon, 14 Oct 2024 18:02:39 -0400 Subject: [PATCH] rename FoR to FrameOfReference --- src/ffor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffor.rs b/src/ffor.rs index 3b20ea5..302f7ff 100644 --- a/src/ffor.rs +++ b/src/ffor.rs @@ -1,7 +1,7 @@ use crate::{pack, unpack, BitPackWidth, BitPacking, FastLanes, SupportedBitPackWidth}; use paste::paste; -pub trait FoR: BitPacking { +pub trait FrameOfReference: BitPacking { fn for_pack( input: &[Self; 1024], reference: Self, @@ -20,7 +20,7 @@ pub trait FoR: BitPacking { macro_rules! impl_for { ($T:ty) => { paste! { - impl FoR for $T { + impl FrameOfReference for $T { fn for_pack( input: &[Self; 1024], reference: Self, @@ -72,7 +72,7 @@ mod test { } let mut packed = [0; 128 * W / size_of::()]; - FoR::for_pack::(&values, 10, &mut packed); + FrameOfReference::for_pack::(&values, 10, &mut packed); let mut unpacked = [0; 1024]; BitPacking::unpack::(&packed, &mut unpacked);