[−][src]Struct protonsdk_variant::VariantFunction
Implementations
impl VariantFunction
[src]
pub fn new<S: AsRef<str>>(name: S) -> VariantFunction
[src]
pub fn new_none() -> VariantFunction
[src]
pub fn indices(&self) -> usize
[src]
pub fn push_arg<V>(self, v: V) -> VariantFunction where
V: Into<Variant>,
[src]
V: Into<Variant>,
pub fn push_arg_borrow<V>(&mut self, v: V) where
V: Into<Variant>,
[src]
V: Into<Variant>,
pub fn push_arg_v(self, v: Variant) -> VariantFunction
[src]
pub fn push_arg_v_borrow(&mut self, v: Variant)
[src]
pub fn pack<W>(&self, w: &mut W) -> Result<()> where
W: Write + Seek,
[src]
W: Write + Seek,
pub fn to_vec(&self) -> Result<Vec<u8>>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VariantFunction
impl Send for VariantFunction
impl Sync for VariantFunction
impl Unpin for VariantFunction
impl UnwindSafe for VariantFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,