pub enum PathComponent {
ByteString(ByteString),
String(String),
Ucs2String(Ucs2String),
}Expand description
Path component for file resolver.
Variants§
Implementations§
Source§impl PathComponent
impl PathComponent
Trait Implementations§
Source§impl Clone for PathComponent
impl Clone for PathComponent
Source§fn clone(&self) -> PathComponent
fn clone(&self) -> PathComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathComponent
impl Debug for PathComponent
Source§impl From<&String> for PathComponent
impl From<&String> for PathComponent
Source§fn from(string: &String) -> Self
fn from(string: &String) -> Self
Converts a [&String] into a PathComponent
Source§impl From<&str> for PathComponent
impl From<&str> for PathComponent
Source§impl PartialEq for PathComponent
impl PartialEq for PathComponent
impl StructuralPartialEq for PathComponent
Auto Trait Implementations§
impl Freeze for PathComponent
impl RefUnwindSafe for PathComponent
impl Send for PathComponent
impl Sync for PathComponent
impl Unpin for PathComponent
impl UnwindSafe for PathComponent
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