pub struct TransferMode { /* private fields */ }Implementations§
Source§impl TransferMode
 
impl TransferMode
Sourcepub const UNRELIABLE: TransferMode
 
pub const UNRELIABLE: TransferMode
Godot enumerator name: TRANSFER_MODE_UNRELIABLE
Sourcepub const UNRELIABLE_ORDERED: TransferMode
 
pub const UNRELIABLE_ORDERED: TransferMode
Godot enumerator name: TRANSFER_MODE_UNRELIABLE_ORDERED
Sourcepub const RELIABLE: TransferMode
 
pub const RELIABLE: TransferMode
Godot enumerator name: TRANSFER_MODE_RELIABLE
Trait Implementations§
Source§impl Clone for TransferMode
 
impl Clone for TransferMode
Source§fn clone(&self) -> TransferMode
 
fn clone(&self) -> TransferMode
Returns a duplicate 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 TransferMode
 
impl Debug for TransferMode
Source§impl EngineEnum for TransferMode
 
impl EngineEnum for TransferMode
fn try_from_ord(ord: i32) -> Option<TransferMode>
Source§fn ord(self) -> i32
 
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
Source§fn values() -> &'static [TransferMode]
 
fn values() -> &'static [TransferMode]
Returns a slice of distinct enum values. Read more
Source§fn all_constants() -> &'static [EnumConstant<TransferMode>]
 
fn all_constants() -> &'static [EnumConstant<TransferMode>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
Source§impl FromGodot for TransferMode
 
impl FromGodot for TransferMode
Source§fn try_from_godot(
    via: <TransferMode as GodotConvert>::Via,
) -> Result<TransferMode, ConvertError>
 
fn try_from_godot( via: <TransferMode as GodotConvert>::Via, ) -> Result<TransferMode, ConvertError>
Converts the Godot representation to this type, returning 
Err on failure.Source§fn from_godot(via: Self::Via) -> Self
 
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
Source§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.Source§impl GodotConvert for TransferMode
 
impl GodotConvert for TransferMode
Source§impl Hash for TransferMode
 
impl Hash for TransferMode
Source§impl PartialEq for TransferMode
 
impl PartialEq for TransferMode
Source§impl ToGodot for TransferMode
 
impl ToGodot for TransferMode
Source§type Pass = ByValue
 
type Pass = ByValue
Whether arguments of this type are passed by value or by reference. Read more
Source§fn to_godot(&self) -> <TransferMode as GodotConvert>::Via
 
fn to_godot(&self) -> <TransferMode as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
Source§fn to_godot_owned(&self) -> Self::Via
 
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
Source§fn to_variant(&self) -> Variant
 
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for TransferMode
impl Eq for TransferMode
impl StructuralPartialEq for TransferMode
Auto Trait Implementations§
impl Freeze for TransferMode
impl RefUnwindSafe for TransferMode
impl Send for TransferMode
impl Sync for TransferMode
impl Unpin for TransferMode
impl UnwindSafe for TransferMode
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