Struct godot::engine::rendering_device::SamplerRepeatMode
pub struct SamplerRepeatMode { /* private fields */ }
Implementations§
§impl SamplerRepeatMode
impl SamplerRepeatMode
pub const REPEAT: SamplerRepeatMode = _
pub const REPEAT: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_REPEAT
pub const MIRRORED_REPEAT: SamplerRepeatMode = _
pub const MIRRORED_REPEAT: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_MIRRORED_REPEAT
pub const CLAMP_TO_EDGE: SamplerRepeatMode = _
pub const CLAMP_TO_EDGE: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE
pub const CLAMP_TO_BORDER: SamplerRepeatMode = _
pub const CLAMP_TO_BORDER: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER
pub const MIRROR_CLAMP_TO_EDGE: SamplerRepeatMode = _
pub const MIRROR_CLAMP_TO_EDGE: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE
pub const MAX: SamplerRepeatMode = _
pub const MAX: SamplerRepeatMode = _
Godot enumerator name: SAMPLER_REPEAT_MODE_MAX
Trait Implementations§
§impl Clone for SamplerRepeatMode
impl Clone for SamplerRepeatMode
§fn clone(&self) -> SamplerRepeatMode
fn clone(&self) -> SamplerRepeatMode
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 SamplerRepeatMode
impl Debug for SamplerRepeatMode
§impl EngineEnum for SamplerRepeatMode
impl EngineEnum for SamplerRepeatMode
§impl FromGodot for SamplerRepeatMode
impl FromGodot for SamplerRepeatMode
§fn try_from_godot(
via: <SamplerRepeatMode as GodotConvert>::Via
) -> Result<SamplerRepeatMode, ConvertError>
fn try_from_godot( via: <SamplerRepeatMode as GodotConvert>::Via ) -> Result<SamplerRepeatMode, ConvertError>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. 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
.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for SamplerRepeatMode
impl GodotConvert for SamplerRepeatMode
§impl Hash for SamplerRepeatMode
impl Hash for SamplerRepeatMode
§impl IndexEnum for SamplerRepeatMode
impl IndexEnum for SamplerRepeatMode
§impl PartialEq for SamplerRepeatMode
impl PartialEq for SamplerRepeatMode
§fn eq(&self, other: &SamplerRepeatMode) -> bool
fn eq(&self, other: &SamplerRepeatMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for SamplerRepeatMode
impl ToGodot for SamplerRepeatMode
§fn to_godot(&self) -> <SamplerRepeatMode as GodotConvert>::Via
fn to_godot(&self) -> <SamplerRepeatMode as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for SamplerRepeatMode
impl Eq for SamplerRepeatMode
impl StructuralPartialEq for SamplerRepeatMode
Auto Trait Implementations§
impl Freeze for SamplerRepeatMode
impl RefUnwindSafe for SamplerRepeatMode
impl Send for SamplerRepeatMode
impl Sync for SamplerRepeatMode
impl Unpin for SamplerRepeatMode
impl UnwindSafe for SamplerRepeatMode
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