MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / is_one

Method is_one

poly-commit/src/data_structures.rs:236–242  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

234 /// Returns `true` if `self == LCTerm::One`
235 #[inline]
236 pub fn is_one(&self) -> bool {
237 if let LCTerm::One = self {
238 true
239 } else {
240 false
241 }
242 }
243}
244
245impl From<PolynomialLabel> for LCTerm {

Callers 11

combine_commitmentsMethod · 0.80
open_combinationsMethod · 0.80
check_combinationsMethod · 0.80
batch_checkMethod · 0.80
open_combinationsMethod · 0.80
check_combinationsMethod · 0.80
batch_checkMethod · 0.80
check_elemsMethod · 0.80
open_combinationsMethod · 0.80
check_combinationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected