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