pub struct StoredStruct {
pub defining_module: String,
pub struct_token: Token,
pub name: Token,
pub fields: Vec<StructField>,
pub public: bool,
pub impls: Vec<StoredImpl>,
pub trait_impls: Vec<StoredTraitImpl>,
}Fields§
§defining_module: String§struct_token: Token§name: Token§fields: Vec<StructField>§public: bool§impls: Vec<StoredImpl>§trait_impls: Vec<StoredTraitImpl>Implementations§
Source§impl StoredStruct
impl StoredStruct
pub fn find_static_method(&self, name: &str) -> Option<&Fn>
pub fn find_method(&self, name: &str) -> Option<&Fn>
Trait Implementations§
Source§impl Clone for StoredStruct
impl Clone for StoredStruct
Source§fn clone(&self) -> StoredStruct
fn clone(&self) -> StoredStruct
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for StoredStruct
impl RefUnwindSafe for StoredStruct
impl Send for StoredStruct
impl Sync for StoredStruct
impl Unpin for StoredStruct
impl UnwindSafe for StoredStruct
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)