Skip to main content

Split

Trait Split 

Source
pub unsafe trait Split: Mutable { }
Expand description

§Safety

Every provided::Mutable::try_take implementation returns the exact requested prefix and retains its disjoint suffix, contents, owner and lifetimes; failure changes nothing.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl Split for Prefix<'_, '_>

Source§

impl Split for Value<Prefix<'_, '_>>