#[non_exhaustive]pub struct DebugSignature {
pub path: ItemBuf,
pub args: DebugArgs,
}Expand description
A description of a function signature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: ItemBufThe path of the function.
args: DebugArgsThe number of arguments expected in the function.
Implementations§
Trait Implementations§
Source§impl Debug for DebugSignature
impl Debug for DebugSignature
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for DebugSignaturewhere
__A: Allocator,
Available on crate feature musli only.
impl<'__de, __A> Decode<'__de, Binary, __A> for DebugSignaturewhere
__A: Allocator,
Available on crate feature
musli only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for DebugSignaturewhere
__A: Allocator,
Available on crate feature musli only.
impl<'__de, __A> Decode<'__de, Text, __A> for DebugSignaturewhere
__A: Allocator,
Available on crate feature
musli only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for DebugSignature
Available on crate feature serde only.
impl<'de> Deserialize<'de> for DebugSignature
Available on crate feature
serde only.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 DebugSignature
impl Display for DebugSignature
Source§impl Encode<Binary> for DebugSignature
Available on crate feature musli only.
impl Encode<Binary> for DebugSignature
Available on crate feature
musli only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = DebugSignature
type Encode = DebugSignature
The underlying type being encoded. Read more
Source§impl Encode<Text> for DebugSignature
Available on crate feature musli only.
impl Encode<Text> for DebugSignature
Available on crate feature
musli only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = DebugSignature
type Encode = DebugSignature
The underlying type being encoded. Read more
Source§impl Serialize for DebugSignature
Available on crate feature serde only.
impl Serialize for DebugSignature
Available on crate feature
serde only.Auto Trait Implementations§
impl Freeze for DebugSignature
impl RefUnwindSafe for DebugSignature
impl Send for DebugSignature
impl Sync for DebugSignature
impl Unpin for DebugSignature
impl UnsafeUnpin for DebugSignature
impl UnwindSafe for DebugSignature
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