pub struct FunctionBodyReferences { /* private fields */ }Expand description
Static schema references found in one function body.
Implementations§
Source§impl FunctionBodyReferences
impl FunctionBodyReferences
Sourcepub const fn references(&self) -> &BTreeSet<SchemaReference>
pub const fn references(&self) -> &BTreeSet<SchemaReference>
Borrow the statically resolved schema identities used by the function body.
Sourcepub const fn has_dynamic_type_reference(&self) -> bool
pub const fn has_dynamic_type_reference(&self) -> bool
Returns true when a type position is supplied by a TypeQL variable.
Trait Implementations§
Source§impl Clone for FunctionBodyReferences
impl Clone for FunctionBodyReferences
Source§fn clone(&self) -> FunctionBodyReferences
fn clone(&self) -> FunctionBodyReferences
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionBodyReferences
impl Debug for FunctionBodyReferences
Source§impl Default for FunctionBodyReferences
impl Default for FunctionBodyReferences
Source§fn default() -> FunctionBodyReferences
fn default() -> FunctionBodyReferences
Returns the “default value” for a type. Read more
impl Eq for FunctionBodyReferences
Source§impl PartialEq for FunctionBodyReferences
impl PartialEq for FunctionBodyReferences
impl StructuralPartialEq for FunctionBodyReferences
Auto Trait Implementations§
impl Freeze for FunctionBodyReferences
impl RefUnwindSafe for FunctionBodyReferences
impl Send for FunctionBodyReferences
impl Sync for FunctionBodyReferences
impl Unpin for FunctionBodyReferences
impl UnsafeUnpin for FunctionBodyReferences
impl UnwindSafe for FunctionBodyReferences
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more