Enum shaderc::IncludeType
source · pub enum IncludeType {
Relative,
Standard,
}
Expand description
Identifies the type of include directive. Relative
is for include directives of the form
#include "..."
, and Standard
is for include directives of the form #include <...>
.
Variants§
Trait Implementations§
source§impl Clone for IncludeType
impl Clone for IncludeType
source§fn clone(&self) -> IncludeType
fn clone(&self) -> IncludeType
Returns a copy of the value. Read more
1.0.0 · 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 IncludeType
impl Debug for IncludeType
source§impl Hash for IncludeType
impl Hash for IncludeType
source§impl Ord for IncludeType
impl Ord for IncludeType
source§fn cmp(&self, other: &IncludeType) -> Ordering
fn cmp(&self, other: &IncludeType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IncludeType
impl PartialEq for IncludeType
source§fn eq(&self, other: &IncludeType) -> bool
fn eq(&self, other: &IncludeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IncludeType
impl PartialOrd for IncludeType
source§fn partial_cmp(&self, other: &IncludeType) -> Option<Ordering>
fn partial_cmp(&self, other: &IncludeType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IncludeType
impl Eq for IncludeType
impl StructuralEq for IncludeType
impl StructuralPartialEq for IncludeType
Auto Trait Implementations§
impl RefUnwindSafe for IncludeType
impl Send for IncludeType
impl Sync for IncludeType
impl Unpin for IncludeType
impl UnwindSafe for IncludeType
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