Struct bitcoin_signingprovider::TRDescriptor
source · pub struct TRDescriptor { /* private fields */ }
Expand description
| A parsed tr(…) descriptor. |
Implementations§
source§impl TRDescriptor
impl TRDescriptor
pub fn make_scripts( &self, keys: &Vec<PubKey>, scripts: &[Script], out: &mut FlatSigningProvider ) -> Vec<Script>
pub fn to_string_sub_script_helper( &self, arg: *const SigningProvider, ret: &mut String, ty: DescriptorImplStringType, cache: Option<*const DescriptorCache> ) -> bool
pub fn new( internal_key: Box<PubkeyProvider>, descs: Vec<Box<DescriptorImpl>>, depths: Vec<i32> ) -> Self
Trait Implementations§
source§impl GetOutputType for TRDescriptor
impl GetOutputType for TRDescriptor
source§fn get_output_type(&self) -> Option<OutputType>
fn get_output_type(&self) -> Option<OutputType>
| @return
|
| The OutputType of the scriptPubKey(s)
| produced by this descriptor. Or nullopt
| if indeterminate (multiple or none)
|
source§impl IsSingleType for TRDescriptor
impl IsSingleType for TRDescriptor
fn is_single_type(&self) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for TRDescriptor
impl Send for TRDescriptor
impl Sync for TRDescriptor
impl Unpin for TRDescriptor
impl UnwindSafe for TRDescriptor
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more