Trait yrs::types::SharedRef

source ·
pub trait SharedRef: From<BranchPtr> + AsRef<Branch> {
    // Provided method
    fn hook(&self) -> Hook<Self> { ... }
}
Expand description

Common trait for shared collaborative collection types in Yrs.

Provided Methods§

source

fn hook(&self) -> Hook<Self>

Returns a logical descriptor of a current shared collection.

Object Safety§

This trait is not object safe.

Implementors§