pub enum ExportItem {
Type(String),
Function(String),
}Expand description
An item that can be exported from a library
Variants§
Trait Implementations§
Source§impl Clone for ExportItem
impl Clone for ExportItem
Source§fn clone(&self) -> ExportItem
fn clone(&self) -> ExportItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExportItem
impl Debug for ExportItem
Source§impl<'de> Deserialize<'de> for ExportItem
impl<'de> Deserialize<'de> for ExportItem
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
Source§impl PartialEq for ExportItem
impl PartialEq for ExportItem
Source§impl Serialize for ExportItem
impl Serialize for ExportItem
impl StructuralPartialEq for ExportItem
Auto Trait Implementations§
impl Freeze for ExportItem
impl RefUnwindSafe for ExportItem
impl Send for ExportItem
impl Sync for ExportItem
impl Unpin for ExportItem
impl UnsafeUnpin for ExportItem
impl UnwindSafe for ExportItem
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