[][src]Struct gm_docs_parser::GmManualFunction

pub struct GmManualFunction {
    pub name: String,
    pub parameters: Vec<GmManualFunctionParameter>,
    pub required_parameters: usize,
    pub is_variadic: bool,
    pub example: String,
    pub description: String,
    pub returns: String,
    pub link: Url,
}

A function scraped from the Gm Manual.

Fields

name: String

The name of the function

parameters: Vec<GmManualFunctionParameter>

The parameters of the function.

required_parameters: usize

The count of the number of required parameters.

is_variadic: bool

By variadic, we mean if the final parameter can take "infinite" arguments. Examples are ds_list_add, where users can invoke it as ds_list_add(list, index, 1, 2, 3, 4 /* etc */);

example: String

The example given in the Manual.

description: String

The description of what the function does.

returns: String

What the function returns.

link: Url

The link to the webpage.

Trait Implementations

impl Clone for GmManualFunction[src]

impl Debug for GmManualFunction[src]

impl<'de> Deserialize<'de> for GmManualFunction[src]

impl Eq for GmManualFunction[src]

impl Ord for GmManualFunction[src]

impl PartialEq<GmManualFunction> for GmManualFunction[src]

impl PartialOrd<GmManualFunction> for GmManualFunction[src]

impl Serialize for GmManualFunction[src]

impl StructuralEq for GmManualFunction[src]

impl StructuralPartialEq for GmManualFunction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.