Struct modus_lib::sld::LiteralOrigin
source · [−]pub struct LiteralOrigin { /* private fields */ }Expand description
A literal origin can be uniquely identified through its source clause and its index in the clause body
Trait Implementations
sourceimpl Clone for LiteralOrigin
impl Clone for LiteralOrigin
sourcefn clone(&self) -> LiteralOrigin
fn clone(&self) -> LiteralOrigin
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LiteralOrigin
impl Debug for LiteralOrigin
sourceimpl PartialEq<LiteralOrigin> for LiteralOrigin
impl PartialEq<LiteralOrigin> for LiteralOrigin
sourcefn eq(&self, other: &LiteralOrigin) -> bool
fn eq(&self, other: &LiteralOrigin) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LiteralOrigin) -> bool
fn ne(&self, other: &LiteralOrigin) -> bool
This method tests for !=.
impl StructuralPartialEq for LiteralOrigin
Auto Trait Implementations
impl RefUnwindSafe for LiteralOrigin
impl Send for LiteralOrigin
impl Sync for LiteralOrigin
impl Unpin for LiteralOrigin
impl UnwindSafe for LiteralOrigin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more