pub struct MonolithicUnionNode {
pub set_size: usize,
pub num_unloaded_gadgets: usize,
pub num_unconnected_outputs: usize,
}Expand description
define your own union-find node data structure like this
Fields§
§set_size: usize§num_unloaded_gadgets: usize§num_unconnected_outputs: usizeTrait Implementations§
Source§impl Clone for MonolithicUnionNode
impl Clone for MonolithicUnionNode
Source§impl Debug for MonolithicUnionNode
impl Debug for MonolithicUnionNode
Source§impl<'de> Deserialize<'de> for MonolithicUnionNode
impl<'de> Deserialize<'de> for MonolithicUnionNode
Source§fn 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
Source§impl Serialize for MonolithicUnionNode
impl Serialize for MonolithicUnionNode
Source§impl UnionNodeTrait for MonolithicUnionNode
example trait implementation
impl UnionNodeTrait for MonolithicUnionNode
example trait implementation
Auto Trait Implementations§
impl Forget for MonolithicUnionNode
impl Freeze for MonolithicUnionNode
impl Move for MonolithicUnionNode
impl RefUnwindSafe for MonolithicUnionNode
impl Send for MonolithicUnionNode
impl Sync for MonolithicUnionNode
impl Unpin for MonolithicUnionNode
impl UnsafeUnpin for MonolithicUnionNode
impl UnwindSafe for MonolithicUnionNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request