Struct gdnative::thread_access::Unique [−][src]
Marker that indicates that a value currently only has a single unique reference.
Using this marker causes the type to be !Sync
.
Trait Implementations
impl Clone for Unique
[src]
impl Copy for Unique
[src]
impl Debug for Unique
[src]
impl Default for Unique
[src]
impl Eq for Unique
[src]
impl Hash for Unique
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LocalThreadAccess for Unique
[src]
impl Ord for Unique
[src]
pub fn cmp(&self, other: &Unique) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Unique> for Unique
[src]
impl PartialOrd<Unique> for Unique
[src]
pub fn partial_cmp(&self, other: &Unique) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Unique) -> bool
[src]
pub fn le(&self, other: &Unique) -> bool
[src]
pub fn gt(&self, other: &Unique) -> bool
[src]
pub fn ge(&self, other: &Unique) -> bool
[src]
impl SafeAsRaw<ManuallyManaged, Unique> for RefImplBound
[src]
pub fn impl_as_raw<T>(this: &Ref<T, Unique>) -> &RawObject<T> where
T: GodotObject<RefKind = ManuallyManaged>,
[src]
T: GodotObject<RefKind = ManuallyManaged>,
impl SafeDeref<ManuallyManaged, Unique> for RefImplBound
[src]
pub fn impl_as_ref<T>(this: &Ref<T, Unique>) -> TRef<'_, T, Unique> where
T: GodotObject<RefKind = ManuallyManaged>,
[src]
T: GodotObject<RefKind = ManuallyManaged>,
impl Send for Unique
[src]
impl StructuralEq for Unique
[src]
impl StructuralPartialEq for Unique
[src]
impl ThreadAccess for Unique
[src]
Auto Trait Implementations
impl RefUnwindSafe for Unique
[src]
impl !Sync for Unique
[src]
impl Unpin for Unique
[src]
impl UnwindSafe for Unique
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
T: Hash + ?Sized,
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
B: BuildHasher,
H: Hash + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,