Struct cedar_policy_core::ast::ExtensionValueWithArgs
source · pub struct ExtensionValueWithArgs { /* private fields */ }
Expand description
Object container for extension values, also stores the fully reduced AST for the arguments
Implementations§
Trait Implementations§
source§impl Clone for ExtensionValueWithArgs
impl Clone for ExtensionValueWithArgs
source§fn clone(&self) -> ExtensionValueWithArgs
fn clone(&self) -> ExtensionValueWithArgs
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 ExtensionValueWithArgs
impl Debug for ExtensionValueWithArgs
source§impl Display for ExtensionValueWithArgs
impl Display for ExtensionValueWithArgs
source§impl From<ExtensionValueWithArgs> for Expr
impl From<ExtensionValueWithArgs> for Expr
source§fn from(val: ExtensionValueWithArgs) -> Self
fn from(val: ExtensionValueWithArgs) -> Self
Converts to this type from the input type.
source§impl Ord for ExtensionValueWithArgs
impl Ord for ExtensionValueWithArgs
source§impl PartialEq for ExtensionValueWithArgs
impl PartialEq for ExtensionValueWithArgs
source§impl PartialOrd for ExtensionValueWithArgs
impl PartialOrd for ExtensionValueWithArgs
impl Eq for ExtensionValueWithArgs
Auto Trait Implementations§
impl Freeze for ExtensionValueWithArgs
impl !RefUnwindSafe for ExtensionValueWithArgs
impl !Send for ExtensionValueWithArgs
impl !Sync for ExtensionValueWithArgs
impl Unpin for ExtensionValueWithArgs
impl !UnwindSafe for ExtensionValueWithArgs
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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