Skip to main content

RpcCollection

Trait RpcCollection 

pub trait RpcCollection<'c, C>
where C: GodotClass,
{ // Required method fn from_user_rpc_object(object: UserRpcObject<'c, C>) -> Self; }
Expand description

Represents a collection of RPCs that can be constructed with a UserRpcObject.

Required Methods§

fn from_user_rpc_object(object: UserRpcObject<'c, C>) -> Self

Construct Self from UserRpcObject

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§