Struct RpcBuilder
pub struct RpcBuilder<'c, C>where
C: GodotClass,{ /* private fields */ }Expand description
Represents an RPC, and the object that it can be called on, and is usually obtained through the type-safe RPC API. See the relevant section in the book for more information about type-safe RPC calls.
Implementations§
§impl<'c, C> RpcBuilder<'c, C>where
C: GodotClass,
impl<'c, C> RpcBuilder<'c, C>where
C: GodotClass,
pub fn new( object: UserRpcObject<'c, C>, rpc_name: &'c str, parameters: Vec<Variant>, ) -> RpcBuilder<'c, C>
Auto Trait Implementations§
impl<'c, C> Freeze for RpcBuilder<'c, C>
impl<'c, C> RefUnwindSafe for RpcBuilder<'c, C>where
C: RefUnwindSafe,
impl<'c, C> !Send for RpcBuilder<'c, C>
impl<'c, C> !Sync for RpcBuilder<'c, C>
impl<'c, C> Unpin for RpcBuilder<'c, C>
impl<'c, C> UnsafeUnpin for RpcBuilder<'c, C>
impl<'c, C> !UnwindSafe for RpcBuilder<'c, C>
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