MCPcopy Create free account
hub / github.com/biblius/validify / is_reference

Method is_reference

validify_derive/src/fields.rs:336–338  ·  view source on GitHub ↗

Returns true if the field is &'_ T, or Option<&'_ T>.

(&self)

Source from the content-addressed store, hash-verified

334
335 /// Returns true if the field is &'_ T, or Option<&'_ T>.
336 pub fn is_reference(&self) -> bool {
337 is_reference(&self.field.ty)
338 }
339
340 pub fn is_list(&self) -> bool {
341 is_list(&self.field.ty)

Callers 2

quote_modifier_paramMethod · 0.80

Calls 1

is_referenceFunction · 0.85

Tested by

no test coverage detected