pub struct Builder<'arena, U: PackScalar<FW>, FW: TowerField> { /* private fields */ }
Implementations§
Source§impl<'arena, U, FW> Builder<'arena, U, FW>where
U: PackScalar<FW>,
FW: TowerField,
impl<'arena, U, FW> Builder<'arena, U, FW>where
U: PackScalar<FW>,
FW: TowerField,
pub fn new( allocator: &'arena Bump, oracles: Rc<RefCell<MultilinearOracleSet<FW>>>, ) -> Self
pub fn new_column<FS: TowerField>(
&self,
id: OracleId,
) -> EntryBuilder<'arena, U, FW, FS>where
U: PackScalar<FS>,
FW: ExtensionField<FS>,
pub fn new_column_with_default<FS: TowerField>(
&self,
id: OracleId,
default: FS,
) -> EntryBuilder<'arena, U, FW, FS>where
U: PackScalar<FS>,
FW: ExtensionField<FS>,
pub fn get<FS: TowerField>(
&self,
id: OracleId,
) -> Result<WitnessEntry<'arena, U, FS>, Error>where
U: PackScalar<FS>,
FW: ExtensionField<FS>,
pub fn set<FS: TowerField>(
&self,
id: OracleId,
entry: WitnessEntry<'arena, U, FS>,
) -> Result<(), Error>where
U: PackScalar<FS>,
FW: ExtensionField<FS>,
pub fn build(self) -> Result<MultilinearExtensionIndex<'arena, U, FW>, Error>
Auto Trait Implementations§
impl<'arena, U, FW> Freeze for Builder<'arena, U, FW>
impl<'arena, U, FW> !RefUnwindSafe for Builder<'arena, U, FW>
impl<'arena, U, FW> !Send for Builder<'arena, U, FW>
impl<'arena, U, FW> !Sync for Builder<'arena, U, FW>
impl<'arena, U, FW> Unpin for Builder<'arena, U, FW>
impl<'arena, U, FW> !UnwindSafe for Builder<'arena, U, FW>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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