Struct gdnative_bindings::spatial_material::Feature
source · pub struct Feature(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl Feature
impl Feature
pub const TRANSPARENT: Feature = _
pub const EMISSION: Feature = _
pub const NORMAL_MAPPING: Feature = _
pub const RIM: Feature = _
pub const CLEARCOAT: Feature = _
pub const ANISOTROPY: Feature = _
pub const AMBIENT_OCCLUSION: Feature = _
pub const DEPTH_MAPPING: Feature = _
pub const SUBSURACE_SCATTERING: Feature = _
pub const TRANSMISSION: Feature = _
pub const REFRACTION: Feature = _
pub const DETAIL: Feature = _
pub const MAX: Feature = _
Trait Implementations§
source§impl FromVariant for Feature
impl FromVariant for Feature
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Ord for Feature
impl Ord for Feature
source§impl PartialEq<Feature> for Feature
impl PartialEq<Feature> for Feature
source§impl PartialOrd<Feature> for Feature
impl PartialOrd<Feature> for Feature
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 Feature
impl Eq for Feature
impl StructuralEq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.