struct TrackedBindings {
bindings: Vec<TrackedBinding>,
}Fields§
§bindings: Vec<TrackedBinding>Implementations§
Source§impl TrackedBindings
impl TrackedBindings
fn new() -> Self
Sourcefn try_merge(
&mut self,
c: &mut Compiler<'_, '_>,
name: &Attr,
entry: AttributeEntry,
) -> Result<(), AttributeEntry>
fn try_merge( &mut self, c: &mut Compiler<'_, '_>, name: &Attr, entry: AttributeEntry, ) -> Result<(), AttributeEntry>
Attempt to merge an entry into an existing matching binding, assuming that the provided binding is mergable (i.e. either a nested key or an attribute set literal).
Returns Ok if the binding was merged, Err if it needs to be compiled
separately as a new binding.
Auto Trait Implementations§
impl Freeze for TrackedBindings
impl !RefUnwindSafe for TrackedBindings
impl !Send for TrackedBindings
impl !Sync for TrackedBindings
impl Unpin for TrackedBindings
impl UnsafeUnpin for TrackedBindings
impl !UnwindSafe for TrackedBindings
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> 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