Struct starlark::values::typing::TypeMatcherFactory
source · pub struct TypeMatcherFactory { /* private fields */ }
Expand description
Boxed TypeMatcher
.
Implementations§
source§impl TypeMatcherFactory
impl TypeMatcherFactory
sourcepub fn new(matcher: impl TypeMatcher) -> TypeMatcherFactory
pub fn new(matcher: impl TypeMatcher) -> TypeMatcherFactory
Create a new TypeMatcherFactory
from a TypeMatcher
.
Trait Implementations§
source§impl Allocative for TypeMatcherFactory
impl Allocative for TypeMatcherFactory
source§impl Clone for TypeMatcherFactory
impl Clone for TypeMatcherFactory
source§fn clone(&self) -> TypeMatcherFactory
fn clone(&self) -> TypeMatcherFactory
Returns a copy of the value. Read more
1.0.0 · 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 TypeMatcherFactory
impl Debug for TypeMatcherFactory
Auto Trait Implementations§
impl !RefUnwindSafe for TypeMatcherFactory
impl Send for TypeMatcherFactory
impl Sync for TypeMatcherFactory
impl Unpin for TypeMatcherFactory
impl !UnwindSafe for TypeMatcherFactory
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