pub struct ScriptOpt(/* private fields */);
Implementations§
Trait Implementations§
source§impl Entity for ScriptOpt
impl Entity for ScriptOpt
type Builder = ScriptOptBuilder
const NAME: &'static str = "ScriptOpt"
fn new_unchecked(data: Bytes) -> ScriptOpt
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<ScriptOpt, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<ScriptOpt, VerificationError>
fn new_builder() -> <ScriptOpt as Entity>::Builder
fn as_builder(self) -> <ScriptOpt as Entity>::Builder
source§impl Ord for ScriptOpt
impl Ord for ScriptOpt
source§impl PartialEq for ScriptOpt
impl PartialEq for ScriptOpt
source§impl PartialOrd for ScriptOpt
impl PartialOrd for ScriptOpt
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ScriptOpt
Auto Trait Implementations§
impl RefUnwindSafe for ScriptOpt
impl Send for ScriptOpt
impl Sync for ScriptOpt
impl Unpin for ScriptOpt
impl UnwindSafe for ScriptOpt
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