pub struct VideoCodec(/* private fields */);mediaframe only.Expand description
What a video track’s bytes are encoded with — an FFmpeg video codec name in the lowercase canon, or the open escape for one this build’s roster does not carry.
The citizen wrapping mediaframe::codec::VideoCodec, which is where the roster, the escape
and the ASCII fold all live. What this type adds is the right to give them a wire face, a filter
and a storage shape — the rights the orphan rule reserves to the crate owning the type, which is
why the newtype exists at all.
§Every string is a value, and that is the vocabulary rather than this type
new cannot fail. h264 names a codec, Some Codec 9000 names one this build has
never heard of, and both are values — the second in the escape arm, losslessly. What separates
them is is_registered, which is the question the absent refusal would
have been asking.
Refusing the unknown one would be the worse bargain by some distance, and it is the same bargain
Language states for an unregistered subtag: the FFmpeg
table gains codecs, a generated roster is a snapshot, and a container in the wild carries
whatever its muxer wrote. Refusing would make a file unindexable because of a table
mediaframe last regenerated at n9.0.
§Equality is the CANONICAL slug, and the door is what makes that true
VideoCodec::new("H264") == VideoCodec::new("h264"), because the door folds and both hold the
named h264. The fold happens ONCE, at construction, so a stored column is canonical and
storage equality IS value equality: WHERE "codec" = 'h264' finds the row an H264 tag
produced.
It holds against the upstream value too, which is the case that needs saying:
From<mediaframe::codec::VideoCodec> re-runs the slug table, so a
mediaframe::codec::VideoCodec::other("h264") — an escape arm holding a name the roster
already spells, which upstream admits and compares unequal to the named variant — becomes the
named variant on the way in. No second spelling of one codec exists inside this type.
§Ordering is ALPHABETICAL over that slug
av1 < h264 < prores. It orders the SPELLINGS and says nothing about the codecs — see the
module note, where the bargain is argued and the agreement with the TEXT column’s own order is
what earns it a cursor seat.
Implementations§
Source§impl VideoCodec
impl VideoCodec
Sourcepub fn new(text: &str) -> Self
pub fn new(text: &str) -> Self
Read a video codec name, WIDE — any case, known or not.
The ONE door in. Every other route to a value of this type — FromStr,
the GraphQL scalar, the column decode, the cursor read and the conversion from the upstream
value — goes through here, so there is one fold and one table lookup in the house.
It is total: a name the roster does not carry lands in the escape arm, ASCII-folded to the lowercase canon.
Sourcepub const fn get(&self) -> &Foreign
pub const fn get(&self) -> &Foreign
The wrapped upstream value, borrowed — the road to the roster’s own match, its
IsVariant predicates and everything else mediaframe publishes on it.
Sourcepub fn into_inner(self) -> Foreign
pub fn into_inner(self) -> Foreign
The wrapped upstream value, owned. Canonical, the door having made it so.
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
The canonical slug — the text this value stores as, pages by, and crosses the wire as.
Sourcepub fn is_registered(&self) -> bool
pub fn is_registered(&self) -> bool
Whether this build’s roster CARRIES this codec, as against holding it in the open escape.
true for h264, false for a name FFmpeg n9.0 did not have. It is the one question that is
actually about the table rather than about the value, and the honest form of the check a
fallible door would have been pretending to make — see the module note.
The roster ITSELF is not restated here: it is
mediaframe::codec::VideoCodec::ROSTER,
and a citizen republishing its upstream’s list would be a second copy to keep in step.
Trait Implementations§
Source§impl AsRef<str> for VideoCodec
impl AsRef<str> for VideoCodec
Source§impl<'a, R: Row> Assemble<'a, R> for VideoCodec
Available on crate feature sqlx only.The decode — one TEXT column back through this type’s own door, and it CANNOT FAIL.
impl<'a, R: Row> Assemble<'a, R> for VideoCodec
sqlx only.The decode — one TEXT column back through this type’s own door, and it CANNOT FAIL.
Generic over the ROW where the bind is generic over the DIALECT, which is the two traits’
parameters rather than a choice made here. The ? that remains is the column READ’s — a
missing column or a non-text one is still sqlx’s error — and what has gone is the second
one the subtag house has, its door having a refusal where this door has none.
Source§impl<Db> Carrier<Db> for VideoCodec
Available on crate feature sqlx only.The bind: the canonical slug as text.
impl<Db> Carrier<Db> for VideoCodec
sqlx only.The bind: the canonical slug as text.
An OWNED String rather than the borrowed &str the value already holds, and the reason
is sqlx::QueryBuilder’s own lifetime rather than a preference: push_bind requires its
value to outlive the builder’s 'args, which this trait’s signature leaves unrelated to
&self.
Source§fn push_bind(&self, qb: &mut QueryBuilder<Db>)
fn push_bind(&self, qb: &mut QueryBuilder<Db>)
qb. Read moreSource§fn push_value_bind(&self, qb: &mut QueryBuilder<Db>)
fn push_value_bind(&self, qb: &mut QueryBuilder<Db>)
Source§impl Clone for VideoCodec
impl Clone for VideoCodec
Source§impl ColumnEq for VideoCodec
A codec is the same as a codec when its canonical slug is — one column, one comparison.
impl ColumnEq for VideoCodec
A codec is the same as a codec when its canonical slug is — one column, one comparison.
Source§impl ColumnKind for VideoCodec
ONE column, which is the default — stated rather than inherited, because a reader auditing
this house against a multi-column citizen should find the answer here rather than the
absence of one.
impl ColumnKind for VideoCodec
ONE column, which is the default — stated rather than inherited, because a reader auditing this house against a multi-column citizen should find the answer here rather than the absence of one.
Source§const SEGMENTS: &'static [ColumnShape] = _
const SEGMENTS: &'static [ColumnShape] = _
Source§const ORDER: &'static [OrderLevel] = _
const ORDER: &'static [OrderLevel] = _
Source§impl CompositeFilterMarker for VideoCodec
What guards a VideoCodec column, and it is the same predicate at both host kinds.
impl CompositeFilterMarker for VideoCodec
What guards a VideoCodec column, and it is the same predicate at both host kinds.
A codec stores every field it declares — there is only the one — so the two seats name one
predicate: ScalarFilter under the reading this crate declares.
Source§type Filter = ScalarFilter<VideoCodec, VideoCodecWire>
type Filter = ScalarFilter<VideoCodec, VideoCodecWire>
Source§type ColumnFilter = ScalarFilter<VideoCodec, VideoCodecWire>
type ColumnFilter = ScalarFilter<VideoCodec, VideoCodecWire>
Source§impl CursorValue for VideoCodec
THE KEYSET POSITION: the canonical slug’s UTF-8 bytes, which is what a TEXT column
orders by and what the Ord above walks.
impl CursorValue for VideoCodec
THE KEYSET POSITION: the canonical slug’s UTF-8 bytes, which is what a TEXT column
orders by and what the Ord above walks.
The read CANONICALISES rather than validating — a cursor is a string a CLIENT hands back, and this vocabulary has no spelling to refuse it for. What it can still refuse is bytes that are not UTF-8 at all, which is the one way a forged position fails here.
Source§impl Debug for VideoCodec
The slug in quotes, which is what a Debug of a one-word vocabulary is FOR: the type name
and the variant path around it say nothing a reader of a failing assertion wants.
impl Debug for VideoCodec
The slug in quotes, which is what a Debug of a one-word vocabulary is FOR: the type name
and the variant path around it say nothing a reader of a failing assertion wants.
impl DeclaredLeaves for VideoCodec
One leaf, and it is the value — ONE column, so there is no sequence to permute.
Source§impl DefaultMarker for VideoCodec
The interpretation a VideoCodec field is read under: the framework’s COMPOSITE reading, which is the VALUE family’s member for one value occupying a column of its own.
impl DefaultMarker for VideoCodec
The interpretation a VideoCodec field is read under: the framework’s COMPOSITE reading, which is the VALUE family’s member for one value occupying a column of its own.
Its Marker::UnderOption is
NullableMarker and not the collection reading: a codec occupies a
column OF ITS OWN, so it can be NULL and the null state is a real observable — a track
whose codec the demuxer could not name is not a track encoded with a codec called nothing.
Source§type Marker = CompositeMarker<VideoCodec>
type Marker = CompositeMarker<VideoCodec>
Source§impl Display for VideoCodec
The canonical slug, and nothing else — no quotes, no wrapper, no type name.
impl Display for VideoCodec
The canonical slug, and nothing else — no quotes, no wrapper, no type name.
impl Eq for VideoCodec
Source§impl From<VideoCodec> for String
impl From<VideoCodec> for String
Source§fn from(codec: VideoCodec) -> Self
fn from(codec: VideoCodec) -> Self
Source§impl From<VideoCodec> for VideoCodec
The foreign value IN, and it RE-CANONICALISES rather than wrapping.
impl From<VideoCodec> for VideoCodec
The foreign value IN, and it RE-CANONICALISES rather than wrapping.
Upstream admits a value this house’s door would not mint — an Other holding text a named
variant already spells — so the conversion runs the slug table rather than moving the bytes.
Skipping it would put a second spelling of one codec inside the citizen, where it would
compare unequal to the first under the derived equality while sorting equal to it under the
Ord beside it. See the module note.
Source§fn from(codec: VideoCodec) -> Self
fn from(codec: VideoCodec) -> Self
Source§impl From<VideoCodec> for VideoCodec
The foreign value OUT, which is a move: the wrapped value is already canonical.
impl From<VideoCodec> for VideoCodec
The foreign value OUT, which is a move: the wrapped value is already canonical.
Source§fn from(codec: VideoCodec) -> Self
fn from(codec: VideoCodec) -> Self
Source§impl FromStr for VideoCodec
The parse, forwarded to this type’s own door — and INFALLIBLE, the open escape being what
makes every string a codec.
impl FromStr for VideoCodec
The parse, forwarded to this type’s own door — and INFALLIBLE, the open escape being what makes every string a codec.
Source§impl Hash for VideoCodec
impl Hash for VideoCodec
Source§impl InputType for VideoCodec
Available on crate feature async-graphql only.
impl InputType for VideoCodec
async-graphql only.Source§type RawValueType = VideoCodec
type RawValueType = VideoCodec
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Value. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Source§impl MongoCarrier for VideoCodec
Available on crate feature mongo only.THE DOCUMENT’S FORM: a BSON String holding the canonical slug — the same text the
TEXT column above binds, at the one BSON type that holds it.
impl MongoCarrier for VideoCodec
mongo only.THE DOCUMENT’S FORM: a BSON String holding the canonical slug — the same text the
TEXT column above binds, at the one BSON type that holds it.
BSON’s String order is bytewise over UTF-8, so $gt and $lt over such a field walk
the same alphabetical order this type’s Ord walks and the cursor above
writes. That is read from MongoDB’s documented BSON order rather than measured against a
live server here, which is the posture the register takes for its BinData rows.
This row is the FILTER OPERAND’s. The document’s WRITE is serde’s, and no storage type this
crate ships carries a serde row — so a declaration naming a bare
VideoCodec
column under mongo(…) is E0277 at the declaration, and the escape is the one
Timestamp’s row names: a type = "…" with its own conversions, which
for a codec is the String it already converts to and from.
Source§impl MongoExtract for VideoCodec
Available on crate feature mongo only.THE READ: the same canonical slug, back through the door — MongoCarrier’s mirror.
impl MongoExtract for VideoCodec
mongo only.THE READ: the same canonical slug, back through the door — MongoCarrier’s mirror.
It carries NO Range arm, and that absence is
the whole difference from the subtag house’s row: that vocabulary can be handed a string
naming no subtag, and this one cannot. What survives is the TYPE refusal — a document
holding a number where a codec belongs is still wrong, and still says which BSON type
arrived.
Source§impl Ord for VideoCodec
ALPHABETICAL over the canonical slug — the order upstream does not publish, written here
because the column has one and a cursor needs the two to agree. See the module note, where
the bargain is argued and named as an order over SPELLINGS.
impl Ord for VideoCodec
ALPHABETICAL over the canonical slug — the order upstream does not publish, written here because the column has one and a cursor needs the two to agree. See the module note, where the bargain is argued and named as an order over SPELLINGS.
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl OutputType for VideoCodec
Available on crate feature async-graphql only.
impl OutputType for VideoCodec
async-graphql only.Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Source§async fn resolve(
&self,
_: &ContextSelectionSet<'_>,
_field: &Positioned<Field>,
) -> ServerResult<Value>
async fn resolve( &self, _: &ContextSelectionSet<'_>, _field: &Positioned<Field>, ) -> ServerResult<Value>
boxed-trait only.async_graphql::Value.Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Source§impl PartialEq for VideoCodec
impl PartialEq for VideoCodec
Source§impl PartialOrd for VideoCodec
impl PartialOrd for VideoCodec
Source§impl ScalarType for VideoCodec
Available on crate feature async-graphql only.An FFmpeg VIDEO codec name, read WIDE and written back canonical: "H264", "h264" and
"H264" are one operand, and it is written back as h264.
impl ScalarType for VideoCodec
async-graphql only.An FFmpeg VIDEO codec name, read WIDE and written back canonical: "H264", "h264" and
"H264" are one operand, and it is written back as h264.
A name this build’s roster does not carry is ACCEPTED and kept losslessly — the FFmpeg table gains codecs and a generated roster is a snapshot, so a stream tagged with something newer stays indexable and stays queryable under the name it was tagged with.
What is refused is a JSON value that is not a STRING. There is no spelling this door turns away.
Source§fn is_valid(value: &Value) -> bool
fn is_valid(value: &Value) -> bool
The SOLE notion of validity, and it is the JSON KIND alone.
async-graphql’s default answers true for every value, so a scalar narrowing in
parse alone ships a validator admitting what its own parser
rejects. This one narrows to exactly what that parser takes — a string — which is the
whole of what it refuses.
Source§fn parse(value: Value) -> InputValueResult<Self>
fn parse(value: Value) -> InputValueResult<Self>
Source§impl ScalarWire<VideoCodec> for VideoCodecWire
impl ScalarWire<VideoCodec> for VideoCodecWire
Source§const NAME: &'static str = "VideoCodecFilter"
const NAME: &'static str = "VideoCodecFilter"
T under this reading is published as.Source§type Carrier = VideoCodec
type Carrier = VideoCodec
Source§type Error = !
type Error = !
Infallible where a crossing cannot refuse.Source§impl<Db> StoredAs<Db> for VideoCodec
The DECLARATION: whatever this dialect calls text, since the bind below is a String.
impl<Db> StoredAs<Db> for VideoCodec
The DECLARATION: whatever this dialect calls text, since the bind below is a String.
The word is delegated rather than named for the reason the bind is: a codec IS its canonical slug, so the column is a text column and the dialect’s own word for one is the only answer. The delegation carries the ADMISSION with it — a codec is declarable exactly where text is, which is everywhere.
impl StructuralPartialEq for VideoCodec
Source§impl ToGraphqlInput for VideoCodec
The crossing is the IDENTITY: this type is its own GraphQL scalar, so an operand needs no
second spelling. Every refusal happens at that scalar’s door, which is the one route a wire
value takes in — and for this house that door refuses only a non-string.
impl ToGraphqlInput for VideoCodec
The crossing is the IDENTITY: this type is its own GraphQL scalar, so an operand needs no second spelling. Every refusal happens at that scalar’s door, which is the one route a wire value takes in — and for this house that door refuses only a non-string.
Source§impl ToGraphqlOutput for VideoCodec
The crossing OUT, and it is the identity the crossing IN is: what a wire face returns is
a BORROW of the value the row already holds.
impl ToGraphqlOutput for VideoCodec
The crossing OUT, and it is the identity the crossing IN is: what a wire face returns is a BORROW of the value the row already holds.
The pair is what makes a codec column a whole field type rather than half of one — a filter
face with no return is what ToGraphqlOutput’s own note calls
half a field type. The seat is BARE — no OutputType bound is written here — so the row
stands in a build with no GraphQL binding at all.
Source§type Output<'a> = &'a VideoCodec
type Output<'a> = &'a VideoCodec
M crosses into an OUTPUT position as.Source§fn to_graphql_output(marked: &Self) -> &Self
fn to_graphql_output(marked: &Self) -> &Self
Auto Trait Implementations§
impl Freeze for VideoCodec
impl RefUnwindSafe for VideoCodec
impl Send for VideoCodec
impl Sync for VideoCodec
impl Unpin for VideoCodec
impl UnsafeUnpin for VideoCodec
impl UnwindSafe for VideoCodec
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Db, T> DialectCursor<Db> for Twhere
T: CursorValue,
impl<Db, T> DialectCursor<Db> for Twhere
T: CursorValue,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> OrderLeaves for T
impl<T> OrderLeaves for T
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<K> PositionKey for K
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> RootKey for T
impl<T> SearchOptionsFace for Twhere
T: InputType,
Source§impl<T> Searchable for T
impl<T> Searchable for T
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T> WireScore for Twhere
T: ToGraphqlOutput + Send + Sync + 'static,
<T as ToGraphqlOutput>::Output<'a>: for<'a> OutputType,
impl<T> WireScore for Twhere
T: ToGraphqlOutput + Send + Sync + 'static,
<T as ToGraphqlOutput>::Output<'a>: for<'a> OutputType,
Source§type Wire<'a> = <T as ToGraphqlOutput>::Output<'a>
where
T: 'a
type Wire<'a> = <T as ToGraphqlOutput>::Output<'a> where T: 'a
async-graphql only.OutputType — the BACKEND’s demand, made where the
backend spends the form.Source§fn wire_score(&self) -> <T as WireScore>::Wire<'_>
fn wire_score(&self) -> <T as WireScore>::Wire<'_>
async-graphql only.