Home
last modified time | relevance | path

Searched +refs:one +refs:arg +refs:derive +refs:type (Results 1 – 25 of 2749) sorted by relevance

12345678910>>...110

/dports/sysutils/vector/vector-0.10.0/cargo-crates/snafu-0.6.6/src/guide/comparison/
H A Dfailure.md28 #[derive(Debug, Snafu)]
52 - create methods on your `Error` type
62 #[derive(Debug, Snafu)]
71 ($($arg:tt)*) => { Any { detail: format!($($arg)*) }.fail() }
89 ## "A Custom Fail type" and "Using the Error type"
91 These two idioms from Failure are combined into one primary use case
103 #[derive(Debug, Snafu)]
119 You do not have to have a one-to-one relationship between an
126 #[derive(Debug, Snafu)]
168 #[derive(Debug, Snafu)]
[all …]
/dports/deskutils/just/just-0.10.5/cargo-crates/snafu-0.6.10/src/guide/comparison/
H A Dfailure.md28 #[derive(Debug, Snafu)]
52 - create methods on your `Error` type
62 #[derive(Debug, Snafu)]
71 ($($arg:tt)*) => { Any { detail: format!($($arg)*) }.fail() }
89 ## "A Custom Fail type" and "Using the Error type"
91 These two idioms from Failure are combined into one primary use case
103 #[derive(Debug, Snafu)]
119 You do not have to have a one-to-one relationship between an
126 #[derive(Debug, Snafu)]
168 #[derive(Debug, Snafu)]
[all …]
/dports/converters/yj-bruceadams/yj-1.1.34/cargo-crates/snafu-0.6.10/src/guide/comparison/
H A Dfailure.md28 #[derive(Debug, Snafu)]
52 - create methods on your `Error` type
62 #[derive(Debug, Snafu)]
71 ($($arg:tt)*) => { Any { detail: format!($($arg)*) }.fail() }
89 ## "A Custom Fail type" and "Using the Error type"
91 These two idioms from Failure are combined into one primary use case
103 #[derive(Debug, Snafu)]
119 You do not have to have a one-to-one relationship between an
126 #[derive(Debug, Snafu)]
168 #[derive(Debug, Snafu)]
[all …]
/dports/x11/swayr/swayr-v0.11.2/cargo-crates/clap-3.0.0-rc.5/examples/derive_ref/
H A DREADME.md15 To derive `clap` types, you need to enable the `derive` feature flag.
24 #[derive(Parser)]
39 #[derive(Args)]
48 #[derive(Subcommand)]
65 #[derive(ArgEnum)]
91 global = true, // name = arg form, neat for one-arg methods
96 - `method = arg` can only be used for methods which take only one argument.
182 `clap` assumes some intent based on the type used:
251 #[derive(Parser)]
265 #[derive(Parser)]
[all …]
/dports/textproc/jql/jql-3.0.6/cargo-crates/clap-3.0.0-rc.7/examples/derive_ref/
H A DREADME.md15 To derive `clap` types, you need to enable the `derive` feature flag.
24 #[derive(Parser)]
39 #[derive(Args)]
48 #[derive(Subcommand)]
65 #[derive(ArgEnum)]
91 global = true, // name = arg form, neat for one-arg methods
96 - `method = arg` can only be used for methods which take only one argument.
182 `clap` assumes some intent based on the type used:
251 #[derive(Parser)]
265 #[derive(Parser)]
[all …]
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/clap-3.0.14/examples/derive_ref/
H A DREADME.md15 To derive `clap` types, you need to enable the `derive` feature flag.
24 #[derive(Parser)]
39 #[derive(Args)]
48 #[derive(Subcommand)]
65 #[derive(ArgEnum)]
93 global = true, // name = arg form, neat for one-arg methods
98 - `method = arg` can only be used for methods which take only one argument.
194 `clap` assumes some intent based on the type used:
267 #[derive(Parser)]
281 #[derive(Parser)]
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/clap/examples/derive_ref/
H A DREADME.md15 To derive `clap` types, you need to enable the `derive` feature flag.
24 #[derive(Parser)]
39 #[derive(Args)]
48 #[derive(Subcommand)]
65 #[derive(ArgEnum)]
93 global = true, // name = arg form, neat for one-arg methods
98 - `method = arg` can only be used for methods which take only one argument.
191 `clap` assumes some intent based on the type used:
262 #[derive(Parser)]
276 #[derive(Parser)]
[all …]
/dports/graphics/viu/viu-1.1/cargo-crates/bytemuck-1.4.1/
H A Dchangelog.md7 been waiting for this one folks! It's a big deal. Just enable the `derive`
8 cargo feature and then you'll be able to derive the traits on your types. It
11 `MaybeUninit` type. This is only behind a feature flag because `MaybeUninit`
23 * The `offset_of!` macro now supports a 2-arg version. For types that impl
25 3-arg version.
26 * The `PodCastError` type now supports `Hash` and `Display`. Also if you enable
29 * The error type of `try_from_bytes` and `try_from_bytes_mut` when the input
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/bytemuck-1.4.1/
H A Dchangelog.md7 been waiting for this one folks! It's a big deal. Just enable the `derive`
8 cargo feature and then you'll be able to derive the traits on your types. It
11 `MaybeUninit` type. This is only behind a feature flag because `MaybeUninit`
23 * The `offset_of!` macro now supports a 2-arg version. For types that impl
25 3-arg version.
26 * The `PodCastError` type now supports `Hash` and `Display`. Also if you enable
29 * The error type of `try_from_bytes` and `try_from_bytes_mut` when the input
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/2htdp/private/csv/
H A Dcsv.rkt68 (define (%csv:in-arg proc-name in)
73 (define (%csv:reader-or-in-arg proc-name reader-or-in)
147 ;; @defproc %csv:csv-spec-derive orig-spec changes
166 ;; (%csv:csv-spec-derive my-first-csv-spec
182 (define (%csv:csv-spec-derive orig-spec changes)
563 (%csv:csv-spec-derive reader-spec
573 (%csv:csv-spec-derive reader-spec
577 (%csv:csv-spec-derive reader-spec
581 (%csv:csv-spec-derive reader-spec
604 (let ((port (%csv:in-arg "[csv-reader]" in))
[all …]
/dports/devel/p5-libxml-enno/libxml-enno-1.02/lib/XML/DOM/
H A DNamedNodeMap.pod27 Return Value: A Node (of any type) with the specified name, or undef if
30 =item setNamedItem (arg)
34 As the nodeName attribute is used to derive the name which
41 I<arg> A node to store in a named node map.
45 already present in the map, it is replaced by the new one.
56 Raised if arg was created from a different document than the one that
65 Raised if arg is an Attr that is already an attribute of another Element object.
/dports/textproc/p5-XML-DOM/XML-DOM-1.46/lib/XML/DOM/
H A DNamedNodeMap.pod27 Return Value: A Node (of any type) with the specified name, or undef if
30 =item setNamedItem (arg)
34 As the nodeName attribute is used to derive the name which
41 I<arg> A node to store in a named node map.
45 already present in the map, it is replaced by the new one.
56 Raised if arg was created from a different document than the one that
65 Raised if arg is an Attr that is already an attribute of another Element object.
/dports/math/openmesh/OpenMesh-8.1/Doc/
H A Dmesh.docu260 -# Finally we derive TriMeshT from PolyMeshT to have an specialization for
409 \c Normal, \c Color, and \c TexCoord one should derive this class from
500 your vertex type or when you want to derive the vertex type from other
619 derive from (e.g. the mesh kernel) as a template parameter. The
782 \arg \c ConstVertexIter,
783 \arg \c ConstHalfedgeIter,
784 \arg \c ConstEdgeIter,
785 \arg \c ConstFaceIter.
860 \arg \c vertices_sbegin(),
861 \arg \c edges_sbegin(),
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/cbindgen-0.20.0/
H A Ddocs.md266 * derive-eq
267 * derive-neq
268 * derive-lt
269 * derive-lte
270 * derive-gt
350 arg: *const T --> const T arg[array_length]
351 arg: *mut T ---> T arg[array_length]
357 arg: *const T --> const T arg[]
358 arg: *mut T --> T arg[]
375 … here only apply for one of C or C++. Usually it's an option specifying whether we should try to m…
[all …]
/dports/devel/rust-cbindgen/cbindgen-0.20.0/
H A Ddocs.md266 * derive-eq
267 * derive-neq
268 * derive-lt
269 * derive-lte
270 * derive-gt
350 arg: *const T --> const T arg[array_length]
351 arg: *mut T ---> T arg[array_length]
357 arg: *const T --> const T arg[]
358 arg: *mut T --> T arg[]
375 … here only apply for one of C or C++. Usually it's an option specifying whether we should try to m…
[all …]
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/cbindgen-0.20.0/
H A Ddocs.md266 * derive-eq
267 * derive-neq
268 * derive-lt
269 * derive-lte
270 * derive-gt
350 arg: *const T --> const T arg[array_length]
351 arg: *mut T ---> T arg[array_length]
357 arg: *const T --> const T arg[]
358 arg: *mut T --> T arg[]
375 … here only apply for one of C or C++. Usually it's an option specifying whether we should try to m…
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/doc/manual/source/
H A Dcallbacks.rst101 int (*pfi)(int arg) = 0;
147 int MyMethod (int arg);
231 (*m_p.*m_pmi)(arg);
295 type-safe; that is, it performs static type checks to enforce proper signature
306 1. callback type declaration: a way to declare a type of callback
333 // first arg type: double
334 // second arg type: double
347 The ``Callback`` template requires one mandatory argument (the return type
422 // return type: int
423 // first arg type: double
[all …]
/dports/devel/tcllib/tcllib-1.20/modules/tepam/
H A Dtepam_argument_dialogbox.tcllib.man35 [cmd -entry] {[arg {-label "City" -variable start_city -type string}]} \
40 [cmd -entry] {[arg {-label "City" -variable dest_city -type string}]} \
139 To close an open frame without opening a new one, an empty list has to be provided to the [arg -fra…
314arg -file] creates a group composed by an entry widget together with a button that allows opening …
321arg -existingfile] creates a group composed by an entry widget together with a button that allows …
328arg -directory] creates a group composed by an entry widget together with a button that allows ope…
333arg -existingdirectory] creates a group composed by an entry widget together with a button that al…
344 … The data type [arg color] is automatically selected for this entry widget type if no data type ha…
349 … The data type [arg font] is automatically selected for this entry widget type if no data type has…
397 [def "-type [arg string]"]
[all …]
/dports/devel/tcllibc/tcllib-1.20/modules/tepam/
H A Dtepam_argument_dialogbox.tcllib.man35 [cmd -entry] {[arg {-label "City" -variable start_city -type string}]} \
40 [cmd -entry] {[arg {-label "City" -variable dest_city -type string}]} \
139 To close an open frame without opening a new one, an empty list has to be provided to the [arg -fra…
314arg -file] creates a group composed by an entry widget together with a button that allows opening …
321arg -existingfile] creates a group composed by an entry widget together with a button that allows …
328arg -directory] creates a group composed by an entry widget together with a button that allows ope…
333arg -existingdirectory] creates a group composed by an entry widget together with a button that al…
344 … The data type [arg color] is automatically selected for this entry widget type if no data type ha…
349 … The data type [arg font] is automatically selected for this entry widget type if no data type has…
397 [def "-type [arg string]"]
[all …]
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/bytemuck-1.7.0/
H A Dchangelog.md37 cargo upload goof! ignore this one.
66 allowing you to change the pod type while also safely ignoring alignment.
84 been waiting for this one folks! It's a big deal. Just enable the `derive`
85 cargo feature and then you'll be able to derive the traits on your types. It
88 `MaybeUninit` type. This is only behind a feature flag because `MaybeUninit`
100 * The `offset_of!` macro now supports a 2-arg version. For types that impl
102 3-arg version.
103 * The `PodCastError` type now supports `Hash` and `Display`. Also if you enable
106 * The error type of `try_from_bytes` and `try_from_bytes_mut` when the input
/dports/textproc/xsv-rs/xsv-0.13.0/cargo-crates/docopt-1.0.0/
H A DREADME.md1 Docopt for Rust with automatic type based decoding (i.e., data validation).
30 serde = "1.0" # if you're using `derive(Deserialize)`
31 serde_derive = "1.0" # if you're using `derive(Deserialize)`
67 #[derive(Debug, Deserialize)]
94 --group <arg> => flag_group
104 like `<arg>` or `--flag`. If you prefer this access pattern, then you can use
105 `docopt::ArgvMap`. The disadvantage is that you have to do all of your type
188 2. Support more shells. (I'll happily accept pull requests on this one. I doubt
/dports/devel/libcidr/libcidr-1.2.3/docs/reference/sgml/inc/
H A Dfunctions.sgml47 <arg>
406 <name>one</name>
690 Most of the time, one of the formatted outputs from
691 <fref target="cidr-to-str"> or one of the manipulation functions
834 Returns the protocol family of an address using one of the defined
905 Take in a netblock, and derive the two netblocks which it divides up
963 Take in a netblock, and derive the parent netblock in which it fits.
1221 Otherwise, one will be allocated and returned.
1252 If the user passed one in, this will just point to the same place
1289 Otherwise, one will be allocated and returned.
[all …]
/dports/devel/eventxx/eventxx-1.0.1/
H A Deventxx167 * All events derive from a plain class (not template) eventxx::basic_event, one
191 enum type
201 type operator| (const type& t1, const type& t2)
209 * Basic event from which all events derive.
211 * All events derive from this class, so it's useful for use in containers,
322 // event type
346 event(int fd, type ev, ccallback_type handler, void* arg = 0) throw()
649 void add_once(int fd, type ev, ccallback_type handler, void* arg)
652 arg, 0);
688 void add_once(int fd, type ev, ccallback_type handler, void* arg,
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/typed-racket-lib/typed-racket/types/
H A Dkw-types.rkt60 rst-type)))
79 (list (-Arrow (append kw-args mandatory-arg-types pos-opt-arg-types rst-type)
123 ;; is arrow's max arity one less than arrow*'s min arity,
139 ;; arrows to their mandatory arg count (from which we can derive their
184 (define opt-arg-count (- (length dom) mand-arg-count))
249 ;; assumption: only one arr is needed, since the types for
285 (match f-type
306 "expected type" f-type))
314 "expected type" f-type))))
370 ;; We expect only one of `arrs` to have all optional arguments, but
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/bytemuck-1.7.2/
H A Dchangelog.md52 cargo upload goof! ignore this one.
81 allowing you to change the pod type while also safely ignoring alignment.
99 been waiting for this one folks! It's a big deal. Just enable the `derive`
100 cargo feature and then you'll be able to derive the traits on your types. It
103 `MaybeUninit` type. This is only behind a feature flag because `MaybeUninit`
115 * The `offset_of!` macro now supports a 2-arg version. For types that impl
117 3-arg version.
118 * The `PodCastError` type now supports `Hash` and `Display`. Also if you enable
121 * The error type of `try_from_bytes` and `try_from_bytes_mut` when the input

12345678910>>...110