Enum aluvm::isa::DeleteFlag [−][src]
pub enum DeleteFlag { None, Zero, Cut, Extend, }
Expand description
Flags for bytestring delete operation. For the detailed description please read
crate::isa::BytesOp::Del
.
Variants
Set destination to None
on any failure.
Matches case (1) in crate::isa::BytesOp::Del
description
Set destination to zero-length string if offset_start > src_len
.
Matches case (2) in crate::isa::BytesOp::Del
description
Set destination to the fragment of the string offset_start..src_len
if
offset_end > src_len && offser_start <= src_len
.
Matches case (3) in crate::isa::BytesOp::Del
description
Set destination to the fragment of the string offset_start..src_len
and extend its length
up to offset_end - offset_start
with trailing zeros if
offset_end > src_len && offser_start <= src_len
.
Matches case (4) in crate::isa::BytesOp::Del
description
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DeleteFlag
impl Send for DeleteFlag
impl Sync for DeleteFlag
impl Unpin for DeleteFlag
impl UnwindSafe for DeleteFlag
Blanket Implementations
Mutably borrows from an owned value. Read more