Skip to main content

Ownership

Trait Ownership 

Source
pub trait Ownership: Any { }
Expand description

A type that marks what type of ownership a struct has over the object(s) it contains; specifically, either Owned or Shared.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§