pub struct DescriptorIntent {
pub kind: DescriptorIntentKind,
pub binding_slot: Option<u32>,
pub op_result: Option<u32>,
pub stream_state_bytes: u32,
pub relation_arity: u16,
pub section_digest: u64,
}Expand description
One intent annotation for a descriptor region, binding, or result id.
Fields§
§kind: DescriptorIntentKind§binding_slot: Option<u32>§op_result: Option<u32>§stream_state_bytes: u32§relation_arity: u16§section_digest: u64Implementations§
Source§impl DescriptorIntent
impl DescriptorIntent
pub const fn new(kind: DescriptorIntentKind, section_digest: u64) -> Self
pub const fn with_binding_slot(self, slot: u32) -> Self
pub const fn with_op_result(self, result: u32) -> Self
pub const fn with_stream_state_bytes(self, bytes: u32) -> Self
pub const fn with_relation_arity(self, arity: u16) -> Self
Trait Implementations§
Source§impl Clone for DescriptorIntent
impl Clone for DescriptorIntent
Source§fn clone(&self) -> DescriptorIntent
fn clone(&self) -> DescriptorIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DescriptorIntent
impl Debug for DescriptorIntent
Source§impl<'de> Deserialize<'de> for DescriptorIntent
impl<'de> Deserialize<'de> for DescriptorIntent
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
impl Eq for DescriptorIntent
Source§impl Hash for DescriptorIntent
impl Hash for DescriptorIntent
Source§impl PartialEq for DescriptorIntent
impl PartialEq for DescriptorIntent
Source§impl Serialize for DescriptorIntent
impl Serialize for DescriptorIntent
impl StructuralPartialEq for DescriptorIntent
Auto Trait Implementations§
impl Freeze for DescriptorIntent
impl RefUnwindSafe for DescriptorIntent
impl Send for DescriptorIntent
impl Sync for DescriptorIntent
impl Unpin for DescriptorIntent
impl UnsafeUnpin for DescriptorIntent
impl UnwindSafe for DescriptorIntent
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.