Struct TextureSamples
pub struct TextureSamples { /* private fields */ }
Implementations§
§impl TextureSamples
impl TextureSamples
pub const SAMPLES_1: TextureSamples = _
pub const SAMPLES_1: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_1
pub const SAMPLES_2: TextureSamples = _
pub const SAMPLES_2: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_2
pub const SAMPLES_4: TextureSamples = _
pub const SAMPLES_4: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_4
pub const SAMPLES_8: TextureSamples = _
pub const SAMPLES_8: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_8
pub const SAMPLES_16: TextureSamples = _
pub const SAMPLES_16: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_16
pub const SAMPLES_32: TextureSamples = _
pub const SAMPLES_32: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_32
pub const SAMPLES_64: TextureSamples = _
pub const SAMPLES_64: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_64
pub const MAX: TextureSamples = _
pub const MAX: TextureSamples = _
Godot enumerator name: TEXTURE_SAMPLES_MAX
Trait Implementations§
§impl Clone for TextureSamples
impl Clone for TextureSamples
§fn clone(&self) -> TextureSamples
fn clone(&self) -> TextureSamples
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 TextureSamples
impl Debug for TextureSamples
§impl EngineEnum for TextureSamples
impl EngineEnum for TextureSamples
§impl FromGodot for TextureSamples
impl FromGodot for TextureSamples
§fn try_from_godot(
via: <TextureSamples as GodotConvert>::Via,
) -> Result<TextureSamples, ConvertError>
fn try_from_godot( via: <TextureSamples as GodotConvert>::Via, ) -> Result<TextureSamples, 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 TextureSamples
impl GodotConvert for TextureSamples
§impl Hash for TextureSamples
impl Hash for TextureSamples
§impl IndexEnum for TextureSamples
impl IndexEnum for TextureSamples
§impl PartialEq for TextureSamples
impl PartialEq for TextureSamples
§impl ToGodot for TextureSamples
impl ToGodot for TextureSamples
§type ToVia<'v> = i32
type ToVia<'v> = i32
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <TextureSamples as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <TextureSamples 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 TextureSamples
impl Eq for TextureSamples
impl StructuralPartialEq for TextureSamples
Auto Trait Implementations§
impl Freeze for TextureSamples
impl RefUnwindSafe for TextureSamples
impl Send for TextureSamples
impl Sync for TextureSamples
impl Unpin for TextureSamples
impl UnwindSafe for TextureSamples
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
)