Struct BarrierMask
pub struct BarrierMask { /* private fields */ }
Implementations§
§impl BarrierMask
impl BarrierMask
pub const VERTEX: BarrierMask = _
pub const VERTEX: BarrierMask = _
Godot enumerator name: BARRIER_MASK_VERTEX
pub const FRAGMENT: BarrierMask = _
pub const FRAGMENT: BarrierMask = _
Godot enumerator name: BARRIER_MASK_FRAGMENT
pub const COMPUTE: BarrierMask = _
pub const COMPUTE: BarrierMask = _
Godot enumerator name: BARRIER_MASK_COMPUTE
pub const TRANSFER: BarrierMask = _
pub const TRANSFER: BarrierMask = _
Godot enumerator name: BARRIER_MASK_TRANSFER
pub const RASTER: BarrierMask = _
pub const RASTER: BarrierMask = _
Godot enumerator name: BARRIER_MASK_RASTER
pub const ALL_BARRIERS: BarrierMask = _
pub const ALL_BARRIERS: BarrierMask = _
Godot enumerator name: BARRIER_MASK_ALL_BARRIERS
pub const NO_BARRIER: BarrierMask = _
pub const NO_BARRIER: BarrierMask = _
Godot enumerator name: BARRIER_MASK_NO_BARRIER
Trait Implementations§
§impl BitOr for BarrierMask
impl BitOr for BarrierMask
§type Output = BarrierMask
type Output = BarrierMask
The resulting type after applying the
|
operator.§fn bitor(self, rhs: BarrierMask) -> <BarrierMask as BitOr>::Output
fn bitor(self, rhs: BarrierMask) -> <BarrierMask as BitOr>::Output
Performs the
|
operation. Read more§impl Clone for BarrierMask
impl Clone for BarrierMask
§fn clone(&self) -> BarrierMask
fn clone(&self) -> BarrierMask
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 more§impl Debug for BarrierMask
impl Debug for BarrierMask
§impl Default for BarrierMask
impl Default for BarrierMask
§fn default() -> BarrierMask
fn default() -> BarrierMask
Returns the “default value” for a type. Read more
§impl EngineBitfield for BarrierMask
impl EngineBitfield for BarrierMask
§impl FromGodot for BarrierMask
impl FromGodot for BarrierMask
§fn try_from_godot(
via: <BarrierMask as GodotConvert>::Via,
) -> Result<BarrierMask, ConvertError>
fn try_from_godot( via: <BarrierMask as GodotConvert>::Via, ) -> Result<BarrierMask, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for BarrierMask
impl GodotConvert for BarrierMask
§impl Hash for BarrierMask
impl Hash for BarrierMask
§impl PartialEq for BarrierMask
impl PartialEq for BarrierMask
§impl ToGodot for BarrierMask
impl ToGodot for BarrierMask
§type ToVia<'v> = u64
type ToVia<'v> = u64
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <BarrierMask as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <BarrierMask as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for BarrierMask
impl Eq for BarrierMask
impl StructuralPartialEq for BarrierMask
Auto Trait Implementations§
impl Freeze for BarrierMask
impl RefUnwindSafe for BarrierMask
impl Send for BarrierMask
impl Sync for BarrierMask
impl Unpin for BarrierMask
impl UnwindSafe for BarrierMask
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)