pub enum ReferenceStyle {
Full,
SkipRoot,
Flat,
}Expand description
Controls how an external metadata namespace is appended to its Rust path.
Variants§
Full
Append the complete metadata namespace.
SkipRoot
Append the metadata namespace without its first segment.
Flat
Append only the referenced type name.
Trait Implementations§
Source§impl Clone for ReferenceStyle
impl Clone for ReferenceStyle
impl Copy for ReferenceStyle
Source§impl Debug for ReferenceStyle
impl Debug for ReferenceStyle
Source§impl Default for ReferenceStyle
impl Default for ReferenceStyle
impl Eq for ReferenceStyle
Source§impl FromStr for ReferenceStyle
impl FromStr for ReferenceStyle
Source§impl PartialEq for ReferenceStyle
impl PartialEq for ReferenceStyle
impl StructuralPartialEq for ReferenceStyle
Auto Trait Implementations§
impl Forget for ReferenceStyle
impl Freeze for ReferenceStyle
impl Move for ReferenceStyle
impl RefUnwindSafe for ReferenceStyle
impl Send for ReferenceStyle
impl Sync for ReferenceStyle
impl Unpin for ReferenceStyle
impl UnsafeUnpin for ReferenceStyle
impl UnwindSafe for ReferenceStyle
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