pub struct RecordOwner<'c, 'r> {
pub package: &'c PkgContext,
pub bundle: &'r str,
pub path: &'r str,
pub version: &'r str,
}Expand description
A normalized record name split against the package table.
Fields§
§package: &'c PkgContext§bundle: &'r strText before the first &; empty for records of this bundle.
path: &'r strPath inside the package, without extension; empty when the record is the package name alone.
version: &'r strText after the last &.
Trait Implementations§
Source§impl<'c, 'r> Clone for RecordOwner<'c, 'r>
impl<'c, 'r> Clone for RecordOwner<'c, 'r>
impl<'c, 'r> Copy for RecordOwner<'c, 'r>
Source§impl<'c, 'r> Debug for RecordOwner<'c, 'r>
impl<'c, 'r> Debug for RecordOwner<'c, 'r>
impl<'c, 'r> Eq for RecordOwner<'c, 'r>
Source§impl<'c, 'r> PartialEq for RecordOwner<'c, 'r>
impl<'c, 'r> PartialEq for RecordOwner<'c, 'r>
impl<'c, 'r> StructuralPartialEq for RecordOwner<'c, 'r>
Auto Trait Implementations§
impl<'c, 'r> Forget for RecordOwner<'c, 'r>
impl<'c, 'r> Freeze for RecordOwner<'c, 'r>
impl<'c, 'r> Move for RecordOwner<'c, 'r>
impl<'c, 'r> RefUnwindSafe for RecordOwner<'c, 'r>
impl<'c, 'r> Send for RecordOwner<'c, 'r>
impl<'c, 'r> Sync for RecordOwner<'c, 'r>
impl<'c, 'r> Unpin for RecordOwner<'c, 'r>
impl<'c, 'r> UnsafeUnpin for RecordOwner<'c, 'r>
impl<'c, 'r> UnwindSafe for RecordOwner<'c, 'r>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more