Enum marine_macro_impl::PassingStyle
source · pub enum PassingStyle {
ByValue,
ByRef,
ByMutRef,
}
Variants§
Trait Implementations§
source§impl Clone for PassingStyle
impl Clone for PassingStyle
source§fn clone(&self) -> PassingStyle
fn clone(&self) -> PassingStyle
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 moresource§impl Debug for PassingStyle
impl Debug for PassingStyle
source§impl<'de> Deserialize<'de> for PassingStyle
impl<'de> Deserialize<'de> for PassingStyle
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 Display for PassingStyle
impl Display for PassingStyle
source§impl PartialEq for PassingStyle
impl PartialEq for PassingStyle
source§fn eq(&self, other: &PassingStyle) -> bool
fn eq(&self, other: &PassingStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PassingStyle
impl Serialize for PassingStyle
source§impl ToTokens for PassingStyle
impl ToTokens for PassingStyle
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for PassingStyle
impl Eq for PassingStyle
impl StructuralPartialEq for PassingStyle
Auto Trait Implementations§
impl RefUnwindSafe for PassingStyle
impl Send for PassingStyle
impl Sync for PassingStyle
impl Unpin for PassingStyle
impl UnwindSafe for PassingStyle
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> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.