pub struct DomainFacts {
pub domain: TessDomain,
pub input_control_points: u32,
pub patch_constants: Vec<Varying>,
}Expand description
What a domain program states about its patch: the same domain as the hull program that feeds it, how many control
points it reads, and the patch-constant varyings it reads (inputs of the interface are its control points’).
Fields§
§domain: TessDomainThe domain the program was written for (the hull program that feeds it states the same one).
input_control_points: u32Control points per patch the program reads (1 to 32).
patch_constants: Vec<Varying>The patch-constant inputs the program reads.
Trait Implementations§
Source§impl Clone for DomainFacts
impl Clone for DomainFacts
Source§fn clone(&self) -> DomainFacts
fn clone(&self) -> DomainFacts
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 DomainFacts
impl Debug for DomainFacts
impl Eq for DomainFacts
Source§impl Hash for DomainFacts
impl Hash for DomainFacts
Source§impl PartialEq for DomainFacts
impl PartialEq for DomainFacts
Source§impl Serialize for DomainFacts
impl Serialize for DomainFacts
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DomainFacts
Auto Trait Implementations§
impl Forget for DomainFacts
impl Freeze for DomainFacts
impl RefUnwindSafe for DomainFacts
impl Send for DomainFacts
impl Sync for DomainFacts
impl Unpin for DomainFacts
impl UnsafeUnpin for DomainFacts
impl UnwindSafe for DomainFacts
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.