pub struct ScriptOpt(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Entity for ScriptOpt
impl Entity for ScriptOpt
const NAME: &'static str = "ScriptOpt"
type Builder = ScriptOptBuilder
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 PartialOrd for ScriptOpt
impl PartialOrd for ScriptOpt
impl Eq for ScriptOpt
Auto Trait Implementations§
impl !Freeze for ScriptOpt
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
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
)