Module ilyvion_util::ownership
source · Available on crate feature
borrowned
only.Expand description
Own-borrow types, that lets you use both borrowed and owned values interchangeably.
Differs from Cow
mainly in that it borrows mutably, and doesn’t convert the borrowed type
into the owned type on write.
Enums
- A smart pointer that either owns or mutably borrows a value.
- A smart pointer that either owns or mutably borrows a value.