Struct sunscreen::FrontendCompilation
source · [−]pub struct FrontendCompilation {
pub graph: StableGraph<Operation, OperandInfo>,
}Expand description
Contains the frontend compilation graph.
Fields
graph: StableGraph<Operation, OperandInfo>The dependency graph of the frontend’s intermediate representation (IR) that backs an fhe_program.
Implementations
sourceimpl FrontendCompilation
impl FrontendCompilation
sourcepub fn compile(&self) -> FheProgram
pub fn compile(&self) -> FheProgram
Performs frontend compilation of this intermediate representation into a backend FheProgram,
then perform backend compilation and return the result.
Trait Implementations
sourceimpl Clone for FrontendCompilation
impl Clone for FrontendCompilation
sourcefn clone(&self) -> FrontendCompilation
fn clone(&self) -> FrontendCompilation
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FrontendCompilation
impl Debug for FrontendCompilation
sourceimpl<'de> Deserialize<'de> for FrontendCompilation
impl<'de> Deserialize<'de> for FrontendCompilation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FrontendCompilation> for FrontendCompilation
impl PartialEq<FrontendCompilation> for FrontendCompilation
sourceimpl Serialize for FrontendCompilation
impl Serialize for FrontendCompilation
Auto Trait Implementations
impl RefUnwindSafe for FrontendCompilation
impl Send for FrontendCompilation
impl Sync for FrontendCompilation
impl Unpin for FrontendCompilation
impl UnwindSafe for FrontendCompilation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more