Struct gdnative_bindings::line_2d::LineTextureMode
source · pub struct LineTextureMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl LineTextureMode
impl LineTextureMode
pub const NONE: LineTextureMode = _
pub const TILE: LineTextureMode = _
pub const STRETCH: LineTextureMode = _
Trait Implementations§
source§impl Clone for LineTextureMode
impl Clone for LineTextureMode
source§fn clone(&self) -> LineTextureMode
fn clone(&self) -> LineTextureMode
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 moresource§impl Debug for LineTextureMode
impl Debug for LineTextureMode
source§impl From<LineTextureMode> for i64
impl From<LineTextureMode> for i64
source§fn from(v: LineTextureMode) -> Self
fn from(v: LineTextureMode) -> Self
Converts to this type from the input type.
source§impl From<i64> for LineTextureMode
impl From<i64> for LineTextureMode
source§impl FromVariant for LineTextureMode
impl FromVariant for LineTextureMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for LineTextureMode
impl Hash for LineTextureMode
source§impl Ord for LineTextureMode
impl Ord for LineTextureMode
source§fn cmp(&self, other: &LineTextureMode) -> Ordering
fn cmp(&self, other: &LineTextureMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<LineTextureMode> for LineTextureMode
impl PartialEq<LineTextureMode> for LineTextureMode
source§fn eq(&self, other: &LineTextureMode) -> bool
fn eq(&self, other: &LineTextureMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LineTextureMode> for LineTextureMode
impl PartialOrd<LineTextureMode> for LineTextureMode
source§fn partial_cmp(&self, other: &LineTextureMode) -> Option<Ordering>
fn partial_cmp(&self, other: &LineTextureMode) -> Option<Ordering>
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 LineTextureMode
impl Eq for LineTextureMode
impl StructuralEq for LineTextureMode
impl StructuralPartialEq for LineTextureMode
Auto Trait Implementations§
impl RefUnwindSafe for LineTextureMode
impl Send for LineTextureMode
impl Sync for LineTextureMode
impl Unpin for LineTextureMode
impl UnwindSafe for LineTextureMode
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.