pub struct SpacetimeDSLMethod {
pub doc_comment: String,
pub trait_name: Ident,
pub additional_paths_to_use: Vec<Path>,
pub method_name: Ident,
pub method_args: Vec<SpacetimeDSLArg>,
pub return_type: TokenStream,
pub method_impl: TokenStream,
pub read_context_compatible: bool,
}Fields§
§doc_comment: String§trait_name: Ident§additional_paths_to_use: Vec<Path>§method_name: Ident§method_args: Vec<SpacetimeDSLArg>§return_type: TokenStream§method_impl: TokenStream§read_context_compatible: boolTrait Implementations§
Source§impl Clone for SpacetimeDSLMethod
impl Clone for SpacetimeDSLMethod
Source§fn clone(&self) -> SpacetimeDSLMethod
fn clone(&self) -> SpacetimeDSLMethod
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 moreAuto Trait Implementations§
impl Freeze for SpacetimeDSLMethod
impl RefUnwindSafe for SpacetimeDSLMethod
impl !Send for SpacetimeDSLMethod
impl !Sync for SpacetimeDSLMethod
impl Unpin for SpacetimeDSLMethod
impl UnsafeUnpin for SpacetimeDSLMethod
impl UnwindSafe for SpacetimeDSLMethod
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more