pub enum Absent {
Zero,
Refuse,
}Expand description
What a request reads where the views hold nothing for it: a slot nothing is bound to, or an address or level outside its view (a structured read’s byte offset past its element is refused either way).
Variants§
Zero
Zero, as Direct3D reads it (the module documentation); a buffer’s length is stated, so the executor answers its reads past the end with zero itself.
Refuse
Refused, naming the slot or the address; no buffer’s length is stated, so every read reaches the view.
Trait Implementations§
impl Copy for Absent
impl Eq for Absent
impl StructuralPartialEq for Absent
Auto Trait Implementations§
impl Forget for Absent
impl Freeze for Absent
impl RefUnwindSafe for Absent
impl Send for Absent
impl Sync for Absent
impl Unpin for Absent
impl UnsafeUnpin for Absent
impl UnwindSafe for Absent
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.