Struct 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>
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 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
§impl ToGodot for SamplerRepeatMode
impl ToGodot for SamplerRepeatMode
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