pub struct RawSymbol {
pub name: String,
pub alias: Option<String>,
}Expand description
A raw symbol in an import
Fields§
§name: StringOriginal name in the source module
alias: Option<String>Alias if renamed (import { x as y })
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawSymbol
impl<'de> Deserialize<'de> for RawSymbol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawSymbol
impl RefUnwindSafe for RawSymbol
impl Send for RawSymbol
impl Sync for RawSymbol
impl Unpin for RawSymbol
impl UnwindSafe for RawSymbol
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