Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module is the generated code for capnp/schema.capnp, for the low-level api.
Documentation
newtype Annotation msg Source #
Annotation_newtype_ (Struct msg) |
Instances
get_Annotation'id :: ReadCtx m msg => Annotation msg -> m Word64 Source #
has_Annotation'id :: ReadCtx m msg => Annotation msg -> m Bool Source #
set_Annotation'id :: RWCtx m s => Annotation (MutMsg s) -> Word64 -> m () Source #
get_Annotation'value :: ReadCtx m msg => Annotation msg -> m (Value msg) Source #
has_Annotation'value :: ReadCtx m msg => Annotation msg -> m Bool Source #
set_Annotation'value :: RWCtx m s => Annotation (MutMsg s) -> Value (MutMsg s) -> m () Source #
new_Annotation'value :: RWCtx m s => Annotation (MutMsg s) -> m (Value (MutMsg s)) Source #
get_Annotation'brand :: ReadCtx m msg => Annotation msg -> m (Brand msg) Source #
has_Annotation'brand :: ReadCtx m msg => Annotation msg -> m Bool Source #
set_Annotation'brand :: RWCtx m s => Annotation (MutMsg s) -> Brand (MutMsg s) -> m () Source #
new_Annotation'brand :: RWCtx m s => Annotation (MutMsg s) -> m (Brand (MutMsg s)) Source #
Brand_newtype_ (Struct msg) |
Instances
ToStruct msg (Brand msg) Source # | |
FromStruct msg (Brand msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Brand msg) Source # | |
Allocate s (Brand (MutMsg s)) Source # | |
MutListElem s (Brand (MutMsg s)) Source # | |
ListElem msg (Brand msg) Source # | |
IsPtr msg (List msg (Brand msg)) Source # | |
MessageDefault (Brand msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Brand msg Source # | |
HasMessage (Brand msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Brand msg) Source # | |
Defined in Capnp.Capnp.Schema |
get_Brand'scopes :: ReadCtx m msg => Brand msg -> m (List msg (Brand'Scope msg)) Source #
set_Brand'scopes :: RWCtx m s => Brand (MutMsg s) -> List (MutMsg s) (Brand'Scope (MutMsg s)) -> m () Source #
new_Brand'scopes :: RWCtx m s => Int -> Brand (MutMsg s) -> m (List (MutMsg s) (Brand'Scope (MutMsg s))) Source #
newtype CapnpVersion msg Source #
CapnpVersion_newtype_ (Struct msg) |
Instances
get_CapnpVersion'major :: ReadCtx m msg => CapnpVersion msg -> m Word16 Source #
has_CapnpVersion'major :: ReadCtx m msg => CapnpVersion msg -> m Bool Source #
set_CapnpVersion'major :: RWCtx m s => CapnpVersion (MutMsg s) -> Word16 -> m () Source #
get_CapnpVersion'minor :: ReadCtx m msg => CapnpVersion msg -> m Word8 Source #
has_CapnpVersion'minor :: ReadCtx m msg => CapnpVersion msg -> m Bool Source #
set_CapnpVersion'minor :: RWCtx m s => CapnpVersion (MutMsg s) -> Word8 -> m () Source #
get_CapnpVersion'micro :: ReadCtx m msg => CapnpVersion msg -> m Word8 Source #
has_CapnpVersion'micro :: ReadCtx m msg => CapnpVersion msg -> m Bool Source #
set_CapnpVersion'micro :: RWCtx m s => CapnpVersion (MutMsg s) -> Word8 -> m () Source #
newtype CodeGeneratorRequest msg Source #
Instances
get_CodeGeneratorRequest'nodes :: ReadCtx m msg => CodeGeneratorRequest msg -> m (List msg (Node msg)) Source #
has_CodeGeneratorRequest'nodes :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool Source #
set_CodeGeneratorRequest'nodes :: RWCtx m s => CodeGeneratorRequest (MutMsg s) -> List (MutMsg s) (Node (MutMsg s)) -> m () Source #
new_CodeGeneratorRequest'nodes :: RWCtx m s => Int -> CodeGeneratorRequest (MutMsg s) -> m (List (MutMsg s) (Node (MutMsg s))) Source #
get_CodeGeneratorRequest'requestedFiles :: ReadCtx m msg => CodeGeneratorRequest msg -> m (List msg (CodeGeneratorRequest'RequestedFile msg)) Source #
has_CodeGeneratorRequest'requestedFiles :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool Source #
set_CodeGeneratorRequest'requestedFiles :: RWCtx m s => CodeGeneratorRequest (MutMsg s) -> List (MutMsg s) (CodeGeneratorRequest'RequestedFile (MutMsg s)) -> m () Source #
new_CodeGeneratorRequest'requestedFiles :: RWCtx m s => Int -> CodeGeneratorRequest (MutMsg s) -> m (List (MutMsg s) (CodeGeneratorRequest'RequestedFile (MutMsg s))) Source #
get_CodeGeneratorRequest'capnpVersion :: ReadCtx m msg => CodeGeneratorRequest msg -> m (CapnpVersion msg) Source #
has_CodeGeneratorRequest'capnpVersion :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool Source #
set_CodeGeneratorRequest'capnpVersion :: RWCtx m s => CodeGeneratorRequest (MutMsg s) -> CapnpVersion (MutMsg s) -> m () Source #
new_CodeGeneratorRequest'capnpVersion :: RWCtx m s => CodeGeneratorRequest (MutMsg s) -> m (CapnpVersion (MutMsg s)) Source #
data ElementSize Source #
ElementSize'empty | |
ElementSize'bit | |
ElementSize'byte | |
ElementSize'twoBytes | |
ElementSize'fourBytes | |
ElementSize'eightBytes | |
ElementSize'pointer | |
ElementSize'inlineComposite | |
ElementSize'unknown' Word16 |
Instances
newtype Enumerant msg Source #
Enumerant_newtype_ (Struct msg) |
Instances
ToStruct msg (Enumerant msg) Source # | |
FromStruct msg (Enumerant msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Enumerant msg) Source # | |
Allocate s (Enumerant (MutMsg s)) Source # | |
MutListElem s (Enumerant (MutMsg s)) Source # | |
ListElem msg (Enumerant msg) Source # | |
IsPtr msg (List msg (Enumerant msg)) Source # | |
MessageDefault (Enumerant msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Enumerant msg Source # | |
HasMessage (Enumerant msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Enumerant msg) Source # | |
Defined in Capnp.Capnp.Schema |
get_Enumerant'annotations :: ReadCtx m msg => Enumerant msg -> m (List msg (Annotation msg)) Source #
set_Enumerant'annotations :: RWCtx m s => Enumerant (MutMsg s) -> List (MutMsg s) (Annotation (MutMsg s)) -> m () Source #
new_Enumerant'annotations :: RWCtx m s => Int -> Enumerant (MutMsg s) -> m (List (MutMsg s) (Annotation (MutMsg s))) Source #
Field_newtype_ (Struct msg) |
Instances
ToStruct msg (Field msg) Source # | |
FromStruct msg (Field msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Field msg) Source # | |
Allocate s (Field (MutMsg s)) Source # | |
MutListElem s (Field (MutMsg s)) Source # | |
ListElem msg (Field msg) Source # | |
IsPtr msg (List msg (Field msg)) Source # | |
MessageDefault (Field msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Field msg Source # | |
HasMessage (Field msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Field msg) Source # | |
Defined in Capnp.Capnp.Schema |
get_Field'annotations :: ReadCtx m msg => Field msg -> m (List msg (Annotation msg)) Source #
set_Field'annotations :: RWCtx m s => Field (MutMsg s) -> List (MutMsg s) (Annotation (MutMsg s)) -> m () Source #
new_Field'annotations :: RWCtx m s => Int -> Field (MutMsg s) -> m (List (MutMsg s) (Annotation (MutMsg s))) Source #
get_Field'ordinal :: ReadCtx m msg => Field msg -> m (Field'ordinal msg) Source #
Method_newtype_ (Struct msg) |
Instances
ToStruct msg (Method msg) Source # | |
FromStruct msg (Method msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Method msg) Source # | |
Allocate s (Method (MutMsg s)) Source # | |
MutListElem s (Method (MutMsg s)) Source # | |
ListElem msg (Method msg) Source # | |
IsPtr msg (List msg (Method msg)) Source # | |
MessageDefault (Method msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Method msg Source # | |
HasMessage (Method msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Method msg) Source # | |
Defined in Capnp.Capnp.Schema |
get_Method'annotations :: ReadCtx m msg => Method msg -> m (List msg (Annotation msg)) Source #
set_Method'annotations :: RWCtx m s => Method (MutMsg s) -> List (MutMsg s) (Annotation (MutMsg s)) -> m () Source #
new_Method'annotations :: RWCtx m s => Int -> Method (MutMsg s) -> m (List (MutMsg s) (Annotation (MutMsg s))) Source #
get_Method'implicitParameters :: ReadCtx m msg => Method msg -> m (List msg (Node'Parameter msg)) Source #
set_Method'implicitParameters :: RWCtx m s => Method (MutMsg s) -> List (MutMsg s) (Node'Parameter (MutMsg s)) -> m () Source #
new_Method'implicitParameters :: RWCtx m s => Int -> Method (MutMsg s) -> m (List (MutMsg s) (Node'Parameter (MutMsg s))) Source #
Node_newtype_ (Struct msg) |
Instances
ToStruct msg (Node msg) Source # | |
FromStruct msg (Node msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Node msg) Source # | |
Allocate s (Node (MutMsg s)) Source # | |
MutListElem s (Node (MutMsg s)) Source # | |
ListElem msg (Node msg) Source # | |
IsPtr msg (List msg (Node msg)) Source # | |
MessageDefault (Node msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Node msg Source # | |
HasMessage (Node msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Node msg) Source # | |
get_Node'nestedNodes :: ReadCtx m msg => Node msg -> m (List msg (Node'NestedNode msg)) Source #
set_Node'nestedNodes :: RWCtx m s => Node (MutMsg s) -> List (MutMsg s) (Node'NestedNode (MutMsg s)) -> m () Source #
new_Node'nestedNodes :: RWCtx m s => Int -> Node (MutMsg s) -> m (List (MutMsg s) (Node'NestedNode (MutMsg s))) Source #
get_Node'annotations :: ReadCtx m msg => Node msg -> m (List msg (Annotation msg)) Source #
set_Node'annotations :: RWCtx m s => Node (MutMsg s) -> List (MutMsg s) (Annotation (MutMsg s)) -> m () Source #
new_Node'annotations :: RWCtx m s => Int -> Node (MutMsg s) -> m (List (MutMsg s) (Annotation (MutMsg s))) Source #
get_Node'parameters :: ReadCtx m msg => Node msg -> m (List msg (Node'Parameter msg)) Source #
set_Node'parameters :: RWCtx m s => Node (MutMsg s) -> List (MutMsg s) (Node'Parameter (MutMsg s)) -> m () Source #
new_Node'parameters :: RWCtx m s => Int -> Node (MutMsg s) -> m (List (MutMsg s) (Node'Parameter (MutMsg s))) Source #
newtype Superclass msg Source #
Superclass_newtype_ (Struct msg) |
Instances
get_Superclass'id :: ReadCtx m msg => Superclass msg -> m Word64 Source #
has_Superclass'id :: ReadCtx m msg => Superclass msg -> m Bool Source #
set_Superclass'id :: RWCtx m s => Superclass (MutMsg s) -> Word64 -> m () Source #
get_Superclass'brand :: ReadCtx m msg => Superclass msg -> m (Brand msg) Source #
has_Superclass'brand :: ReadCtx m msg => Superclass msg -> m Bool Source #
set_Superclass'brand :: RWCtx m s => Superclass (MutMsg s) -> Brand (MutMsg s) -> m () Source #
new_Superclass'brand :: RWCtx m s => Superclass (MutMsg s) -> m (Brand (MutMsg s)) Source #
Type_newtype_ (Struct msg) |
Instances
ToStruct msg (Type msg) Source # | |
FromStruct msg (Type msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Type msg) Source # | |
Allocate s (Type (MutMsg s)) Source # | |
MutListElem s (Type (MutMsg s)) Source # | |
ListElem msg (Type msg) Source # | |
IsPtr msg (List msg (Type msg)) Source # | |
MessageDefault (Type msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Type msg Source # | |
HasMessage (Type msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Type msg) Source # | |
Instances
FromStruct msg (Type' msg) Source # | |
Defined in Capnp.Capnp.Schema |
set_Type'list :: RWCtx m s => Type (MutMsg s) -> m (Type'list'group' (MutMsg s)) Source #
set_Type'enum :: RWCtx m s => Type (MutMsg s) -> m (Type'enum'group' (MutMsg s)) Source #
set_Type'struct :: RWCtx m s => Type (MutMsg s) -> m (Type'struct'group' (MutMsg s)) Source #
set_Type'interface :: RWCtx m s => Type (MutMsg s) -> m (Type'interface'group' (MutMsg s)) Source #
set_Type'anyPointer :: RWCtx m s => Type (MutMsg s) -> m (Type'anyPointer'group' (MutMsg s)) Source #
newtype Type'list'group' msg Source #
Instances
get_Type'list'elementType :: ReadCtx m msg => Type'list'group' msg -> m (Type msg) Source #
has_Type'list'elementType :: ReadCtx m msg => Type'list'group' msg -> m Bool Source #
set_Type'list'elementType :: RWCtx m s => Type'list'group' (MutMsg s) -> Type (MutMsg s) -> m () Source #
new_Type'list'elementType :: RWCtx m s => Type'list'group' (MutMsg s) -> m (Type (MutMsg s)) Source #
newtype Type'enum'group' msg Source #
Instances
get_Type'enum'typeId :: ReadCtx m msg => Type'enum'group' msg -> m Word64 Source #
has_Type'enum'typeId :: ReadCtx m msg => Type'enum'group' msg -> m Bool Source #
set_Type'enum'typeId :: RWCtx m s => Type'enum'group' (MutMsg s) -> Word64 -> m () Source #
get_Type'enum'brand :: ReadCtx m msg => Type'enum'group' msg -> m (Brand msg) Source #
has_Type'enum'brand :: ReadCtx m msg => Type'enum'group' msg -> m Bool Source #
set_Type'enum'brand :: RWCtx m s => Type'enum'group' (MutMsg s) -> Brand (MutMsg s) -> m () Source #
new_Type'enum'brand :: RWCtx m s => Type'enum'group' (MutMsg s) -> m (Brand (MutMsg s)) Source #
newtype Type'struct'group' msg Source #
Instances
get_Type'struct'typeId :: ReadCtx m msg => Type'struct'group' msg -> m Word64 Source #
has_Type'struct'typeId :: ReadCtx m msg => Type'struct'group' msg -> m Bool Source #
set_Type'struct'typeId :: RWCtx m s => Type'struct'group' (MutMsg s) -> Word64 -> m () Source #
get_Type'struct'brand :: ReadCtx m msg => Type'struct'group' msg -> m (Brand msg) Source #
has_Type'struct'brand :: ReadCtx m msg => Type'struct'group' msg -> m Bool Source #
set_Type'struct'brand :: RWCtx m s => Type'struct'group' (MutMsg s) -> Brand (MutMsg s) -> m () Source #
new_Type'struct'brand :: RWCtx m s => Type'struct'group' (MutMsg s) -> m (Brand (MutMsg s)) Source #
newtype Type'interface'group' msg Source #
Instances
get_Type'interface'typeId :: ReadCtx m msg => Type'interface'group' msg -> m Word64 Source #
has_Type'interface'typeId :: ReadCtx m msg => Type'interface'group' msg -> m Bool Source #
set_Type'interface'typeId :: RWCtx m s => Type'interface'group' (MutMsg s) -> Word64 -> m () Source #
get_Type'interface'brand :: ReadCtx m msg => Type'interface'group' msg -> m (Brand msg) Source #
has_Type'interface'brand :: ReadCtx m msg => Type'interface'group' msg -> m Bool Source #
set_Type'interface'brand :: RWCtx m s => Type'interface'group' (MutMsg s) -> Brand (MutMsg s) -> m () Source #
new_Type'interface'brand :: RWCtx m s => Type'interface'group' (MutMsg s) -> m (Brand (MutMsg s)) Source #
newtype Type'anyPointer'group' msg Source #
Instances
get_Type'anyPointer'union' :: ReadCtx m msg => Type'anyPointer'group' msg -> m (Type'anyPointer msg) Source #
has_Type'anyPointer'union' :: ReadCtx m msg => Type'anyPointer'group' msg -> m Bool Source #
Value_newtype_ (Struct msg) |
Instances
ToStruct msg (Value msg) Source # | |
FromStruct msg (Value msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Value msg) Source # | |
Allocate s (Value (MutMsg s)) Source # | |
MutListElem s (Value (MutMsg s)) Source # | |
ListElem msg (Value msg) Source # | |
IsPtr msg (List msg (Value msg)) Source # | |
MessageDefault (Value msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Value msg Source # | |
HasMessage (Value msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Value msg) Source # | |
Defined in Capnp.Capnp.Schema |
Instances
FromStruct msg (Value' msg) Source # | |
Defined in Capnp.Capnp.Schema |
newtype Brand'Binding msg Source #
Brand'Binding_newtype_ (Struct msg) |
Instances
data Brand'Binding' msg Source #
Instances
FromStruct msg (Brand'Binding' msg) Source # | |
Defined in Capnp.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Brand'Binding' msg) Source # |
get_Brand'Binding' :: ReadCtx m msg => Brand'Binding msg -> m (Brand'Binding' msg) Source #
has_Brand'Binding' :: ReadCtx m msg => Brand'Binding msg -> m Bool Source #
set_Brand'Binding'unbound :: RWCtx m s => Brand'Binding (MutMsg s) -> m () Source #
set_Brand'Binding'type_ :: RWCtx m s => Brand'Binding (MutMsg s) -> Type (MutMsg s) -> m () Source #
new_Brand'Binding'type_ :: RWCtx m s => Brand'Binding (MutMsg s) -> m (Type (MutMsg s)) Source #
set_Brand'Binding'unknown' :: RWCtx m s => Brand'Binding (MutMsg s) -> Word16 -> m () Source #
newtype Brand'Scope msg Source #
Brand'Scope_newtype_ (Struct msg) |
Instances
get_Brand'Scope'scopeId :: ReadCtx m msg => Brand'Scope msg -> m Word64 Source #
has_Brand'Scope'scopeId :: ReadCtx m msg => Brand'Scope msg -> m Bool Source #
set_Brand'Scope'scopeId :: RWCtx m s => Brand'Scope (MutMsg s) -> Word64 -> m () Source #
get_Brand'Scope'union' :: ReadCtx m msg => Brand'Scope msg -> m (Brand'Scope' msg) Source #
has_Brand'Scope'union' :: ReadCtx m msg => Brand'Scope msg -> m Bool Source #
newtype Brand'Scope' msg Source #
Brand'Scope'_newtype_ (Struct msg) |
Instances
data Brand'Scope'' msg Source #
Instances
FromStruct msg (Brand'Scope'' msg) Source # | |
Defined in Capnp.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Brand'Scope'' msg) Source # |
get_Brand'Scope'' :: ReadCtx m msg => Brand'Scope' msg -> m (Brand'Scope'' msg) Source #
has_Brand'Scope'' :: ReadCtx m msg => Brand'Scope' msg -> m Bool Source #
set_Brand'Scope'bind :: RWCtx m s => Brand'Scope' (MutMsg s) -> List (MutMsg s) (Brand'Binding (MutMsg s)) -> m () Source #
new_Brand'Scope'bind :: RWCtx m s => Int -> Brand'Scope' (MutMsg s) -> m (List (MutMsg s) (Brand'Binding (MutMsg s))) Source #
set_Brand'Scope'inherit :: RWCtx m s => Brand'Scope' (MutMsg s) -> m () Source #
set_Brand'Scope'unknown' :: RWCtx m s => Brand'Scope' (MutMsg s) -> Word16 -> m () Source #
newtype CodeGeneratorRequest'RequestedFile msg Source #
Instances
get_CodeGeneratorRequest'RequestedFile'id :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Word64 Source #
has_CodeGeneratorRequest'RequestedFile'id :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Bool Source #
set_CodeGeneratorRequest'RequestedFile'id :: RWCtx m s => CodeGeneratorRequest'RequestedFile (MutMsg s) -> Word64 -> m () Source #
get_CodeGeneratorRequest'RequestedFile'filename :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m (Text msg) Source #
has_CodeGeneratorRequest'RequestedFile'filename :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Bool Source #
set_CodeGeneratorRequest'RequestedFile'filename :: RWCtx m s => CodeGeneratorRequest'RequestedFile (MutMsg s) -> Text (MutMsg s) -> m () Source #
new_CodeGeneratorRequest'RequestedFile'filename :: RWCtx m s => Int -> CodeGeneratorRequest'RequestedFile (MutMsg s) -> m (Text (MutMsg s)) Source #
get_CodeGeneratorRequest'RequestedFile'imports :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m (List msg (CodeGeneratorRequest'RequestedFile'Import msg)) Source #
has_CodeGeneratorRequest'RequestedFile'imports :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Bool Source #
set_CodeGeneratorRequest'RequestedFile'imports :: RWCtx m s => CodeGeneratorRequest'RequestedFile (MutMsg s) -> List (MutMsg s) (CodeGeneratorRequest'RequestedFile'Import (MutMsg s)) -> m () Source #
new_CodeGeneratorRequest'RequestedFile'imports :: RWCtx m s => Int -> CodeGeneratorRequest'RequestedFile (MutMsg s) -> m (List (MutMsg s) (CodeGeneratorRequest'RequestedFile'Import (MutMsg s))) Source #
newtype CodeGeneratorRequest'RequestedFile'Import msg Source #
Instances
get_CodeGeneratorRequest'RequestedFile'Import'id :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile'Import msg -> m Word64 Source #
has_CodeGeneratorRequest'RequestedFile'Import'id :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile'Import msg -> m Bool Source #
set_CodeGeneratorRequest'RequestedFile'Import'id :: RWCtx m s => CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> Word64 -> m () Source #
get_CodeGeneratorRequest'RequestedFile'Import'name :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile'Import msg -> m (Text msg) Source #
has_CodeGeneratorRequest'RequestedFile'Import'name :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile'Import msg -> m Bool Source #
set_CodeGeneratorRequest'RequestedFile'Import'name :: RWCtx m s => CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> Text (MutMsg s) -> m () Source #
new_CodeGeneratorRequest'RequestedFile'Import'name :: RWCtx m s => Int -> CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> m (Text (MutMsg s)) Source #
Field'_newtype_ (Struct msg) |
Instances
ToStruct msg (Field' msg) Source # | |
FromStruct msg (Field' msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Field' msg) Source # | |
Allocate s (Field' (MutMsg s)) Source # | |
MutListElem s (Field' (MutMsg s)) Source # | |
ListElem msg (Field' msg) Source # | |
IsPtr msg (List msg (Field' msg)) Source # | |
MessageDefault (Field' msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Field' msg Source # | |
HasMessage (Field' msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Field' msg) Source # | |
Defined in Capnp.Capnp.Schema |
Instances
FromStruct msg (Field'' msg) Source # | |
Defined in Capnp.Capnp.Schema |
set_Field'slot :: RWCtx m s => Field' (MutMsg s) -> m (Field'slot'group' (MutMsg s)) Source #
set_Field'group :: RWCtx m s => Field' (MutMsg s) -> m (Field'group'group' (MutMsg s)) Source #
newtype Field'slot'group' msg Source #
Instances
get_Field'slot'offset :: ReadCtx m msg => Field'slot'group' msg -> m Word32 Source #
has_Field'slot'offset :: ReadCtx m msg => Field'slot'group' msg -> m Bool Source #
set_Field'slot'offset :: RWCtx m s => Field'slot'group' (MutMsg s) -> Word32 -> m () Source #
get_Field'slot'type_ :: ReadCtx m msg => Field'slot'group' msg -> m (Type msg) Source #
has_Field'slot'type_ :: ReadCtx m msg => Field'slot'group' msg -> m Bool Source #
set_Field'slot'type_ :: RWCtx m s => Field'slot'group' (MutMsg s) -> Type (MutMsg s) -> m () Source #
new_Field'slot'type_ :: RWCtx m s => Field'slot'group' (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Field'slot'defaultValue :: ReadCtx m msg => Field'slot'group' msg -> m (Value msg) Source #
has_Field'slot'defaultValue :: ReadCtx m msg => Field'slot'group' msg -> m Bool Source #
set_Field'slot'defaultValue :: RWCtx m s => Field'slot'group' (MutMsg s) -> Value (MutMsg s) -> m () Source #
new_Field'slot'defaultValue :: RWCtx m s => Field'slot'group' (MutMsg s) -> m (Value (MutMsg s)) Source #
get_Field'slot'hadExplicitDefault :: ReadCtx m msg => Field'slot'group' msg -> m Bool Source #
has_Field'slot'hadExplicitDefault :: ReadCtx m msg => Field'slot'group' msg -> m Bool Source #
set_Field'slot'hadExplicitDefault :: RWCtx m s => Field'slot'group' (MutMsg s) -> Bool -> m () Source #
newtype Field'group'group' msg Source #
Instances
get_Field'group'typeId :: ReadCtx m msg => Field'group'group' msg -> m Word64 Source #
has_Field'group'typeId :: ReadCtx m msg => Field'group'group' msg -> m Bool Source #
set_Field'group'typeId :: RWCtx m s => Field'group'group' (MutMsg s) -> Word64 -> m () Source #
newtype Field'ordinal msg Source #
Field'ordinal_newtype_ (Struct msg) |
Instances
data Field'ordinal' msg Source #
Instances
FromStruct msg (Field'ordinal' msg) Source # | |
Defined in Capnp.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Field'ordinal' msg) Source # |
get_Field'ordinal' :: ReadCtx m msg => Field'ordinal msg -> m (Field'ordinal' msg) Source #
has_Field'ordinal' :: ReadCtx m msg => Field'ordinal msg -> m Bool Source #
set_Field'ordinal'implicit :: RWCtx m s => Field'ordinal (MutMsg s) -> m () Source #
set_Field'ordinal'explicit :: RWCtx m s => Field'ordinal (MutMsg s) -> Word16 -> m () Source #
set_Field'ordinal'unknown' :: RWCtx m s => Field'ordinal (MutMsg s) -> Word16 -> m () Source #
Node'_newtype_ (Struct msg) |
Instances
ToStruct msg (Node' msg) Source # | |
FromStruct msg (Node' msg) Source # | |
Defined in Capnp.Capnp.Schema | |
IsPtr msg (Node' msg) Source # | |
Allocate s (Node' (MutMsg s)) Source # | |
MutListElem s (Node' (MutMsg s)) Source # | |
ListElem msg (Node' msg) Source # | |
IsPtr msg (List msg (Node' msg)) Source # | |
MessageDefault (Node' msg) msg Source # | |
Defined in Capnp.Capnp.Schema messageDefault :: msg -> Node' msg Source # | |
HasMessage (Node' msg) msg Source # | |
Defined in Capnp.Capnp.Schema | |
data List msg (Node' msg) Source # | |
Defined in Capnp.Capnp.Schema |
Instances
FromStruct msg (Node'' msg) Source # | |
Defined in Capnp.Capnp.Schema |
set_Node'struct :: RWCtx m s => Node' (MutMsg s) -> m (Node'struct'group' (MutMsg s)) Source #
set_Node'enum :: RWCtx m s => Node' (MutMsg s) -> m (Node'enum'group' (MutMsg s)) Source #
set_Node'interface :: RWCtx m s => Node' (MutMsg s) -> m (Node'interface'group' (MutMsg s)) Source #
set_Node'const :: RWCtx m s => Node' (MutMsg s) -> m (Node'const'group' (MutMsg s)) Source #
set_Node'annotation :: RWCtx m s => Node' (MutMsg s) -> m (Node'annotation'group' (MutMsg s)) Source #
newtype Node'struct'group' msg Source #
Instances
get_Node'struct'dataWordCount :: ReadCtx m msg => Node'struct'group' msg -> m Word16 Source #
has_Node'struct'dataWordCount :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'dataWordCount :: RWCtx m s => Node'struct'group' (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'pointerCount :: ReadCtx m msg => Node'struct'group' msg -> m Word16 Source #
has_Node'struct'pointerCount :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'pointerCount :: RWCtx m s => Node'struct'group' (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'preferredListEncoding :: ReadCtx m msg => Node'struct'group' msg -> m ElementSize Source #
has_Node'struct'preferredListEncoding :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'preferredListEncoding :: RWCtx m s => Node'struct'group' (MutMsg s) -> ElementSize -> m () Source #
get_Node'struct'isGroup :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
has_Node'struct'isGroup :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'isGroup :: RWCtx m s => Node'struct'group' (MutMsg s) -> Bool -> m () Source #
get_Node'struct'discriminantCount :: ReadCtx m msg => Node'struct'group' msg -> m Word16 Source #
has_Node'struct'discriminantCount :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'discriminantCount :: RWCtx m s => Node'struct'group' (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'discriminantOffset :: ReadCtx m msg => Node'struct'group' msg -> m Word32 Source #
has_Node'struct'discriminantOffset :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'discriminantOffset :: RWCtx m s => Node'struct'group' (MutMsg s) -> Word32 -> m () Source #
get_Node'struct'fields :: ReadCtx m msg => Node'struct'group' msg -> m (List msg (Field msg)) Source #
has_Node'struct'fields :: ReadCtx m msg => Node'struct'group' msg -> m Bool Source #
set_Node'struct'fields :: RWCtx m s => Node'struct'group' (MutMsg s) -> List (MutMsg s) (Field (MutMsg s)) -> m () Source #
new_Node'struct'fields :: RWCtx m s => Int -> Node'struct'group' (MutMsg s) -> m (List (MutMsg s) (Field (MutMsg s))) Source #
newtype Node'enum'group' msg Source #
Instances
get_Node'enum'enumerants :: ReadCtx m msg => Node'enum'group' msg -> m (List msg (Enumerant msg)) Source #
has_Node'enum'enumerants :: ReadCtx m msg => Node'enum'group' msg -> m Bool Source #
set_Node'enum'enumerants :: RWCtx m s => Node'enum'group' (MutMsg s) -> List (MutMsg s) (Enumerant (MutMsg s)) -> m () Source #
new_Node'enum'enumerants :: RWCtx m s => Int -> Node'enum'group' (MutMsg s) -> m (List (MutMsg s) (Enumerant (MutMsg s))) Source #
newtype Node'interface'group' msg Source #
Instances
get_Node'interface'methods :: ReadCtx m msg => Node'interface'group' msg -> m (List msg (Method msg)) Source #
has_Node'interface'methods :: ReadCtx m msg => Node'interface'group' msg -> m Bool Source #
set_Node'interface'methods :: RWCtx m s => Node'interface'group' (MutMsg s) -> List (MutMsg s) (Method (MutMsg s)) -> m () Source #
new_Node'interface'methods :: RWCtx m s => Int -> Node'interface'group' (MutMsg s) -> m (List (MutMsg s) (Method (MutMsg s))) Source #
get_Node'interface'superclasses :: ReadCtx m msg => Node'interface'group' msg -> m (List msg (Superclass msg)) Source #
has_Node'interface'superclasses :: ReadCtx m msg => Node'interface'group' msg -> m Bool Source #
set_Node'interface'superclasses :: RWCtx m s => Node'interface'group' (MutMsg s) -> List (MutMsg s) (Superclass (MutMsg s)) -> m () Source #
new_Node'interface'superclasses :: RWCtx m s => Int -> Node'interface'group' (MutMsg s) -> m (List (MutMsg s) (Superclass (MutMsg s))) Source #
newtype Node'const'group' msg Source #
Instances
get_Node'const'type_ :: ReadCtx m msg => Node'const'group' msg -> m (Type msg) Source #
has_Node'const'type_ :: ReadCtx m msg => Node'const'group' msg -> m Bool Source #
set_Node'const'type_ :: RWCtx m s => Node'const'group' (MutMsg s) -> Type (MutMsg s) -> m () Source #
new_Node'const'type_ :: RWCtx m s => Node'const'group' (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Node'const'value :: ReadCtx m msg => Node'const'group' msg -> m (Value msg) Source #
has_Node'const'value :: ReadCtx m msg => Node'const'group' msg -> m Bool Source #
set_Node'const'value :: RWCtx m s => Node'const'group' (MutMsg s) -> Value (MutMsg s) -> m () Source #
new_Node'const'value :: RWCtx m s => Node'const'group' (MutMsg s) -> m (Value (MutMsg s)) Source #
newtype Node'annotation'group' msg Source #
Instances
get_Node'annotation'type_ :: ReadCtx m msg => Node'annotation'group' msg -> m (Type msg) Source #
has_Node'annotation'type_ :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'type_ :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Type (MutMsg s) -> m () Source #
new_Node'annotation'type_ :: RWCtx m s => Node'annotation'group' (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Node'annotation'targetsFile :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsFile :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsFile :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsConst :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsConst :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsConst :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsEnum :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsEnum :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsEnum :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsEnumerant :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsEnumerant :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsEnumerant :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsStruct :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsStruct :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsStruct :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsField :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsField :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsField :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsUnion :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsUnion :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsUnion :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsGroup :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsGroup :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsGroup :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsInterface :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsInterface :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsInterface :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsMethod :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsMethod :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsMethod :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsParam :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsParam :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsParam :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsAnnotation :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
has_Node'annotation'targetsAnnotation :: ReadCtx m msg => Node'annotation'group' msg -> m Bool Source #
set_Node'annotation'targetsAnnotation :: RWCtx m s => Node'annotation'group' (MutMsg s) -> Bool -> m () Source #
newtype Node'NestedNode msg Source #
Instances
get_Node'NestedNode'name :: ReadCtx m msg => Node'NestedNode msg -> m (Text msg) Source #
has_Node'NestedNode'name :: ReadCtx m msg => Node'NestedNode msg -> m Bool Source #
set_Node'NestedNode'name :: RWCtx m s => Node'NestedNode (MutMsg s) -> Text (MutMsg s) -> m () Source #
new_Node'NestedNode'name :: RWCtx m s => Int -> Node'NestedNode (MutMsg s) -> m (Text (MutMsg s)) Source #
get_Node'NestedNode'id :: ReadCtx m msg => Node'NestedNode msg -> m Word64 Source #
has_Node'NestedNode'id :: ReadCtx m msg => Node'NestedNode msg -> m Bool Source #
set_Node'NestedNode'id :: RWCtx m s => Node'NestedNode (MutMsg s) -> Word64 -> m () Source #
newtype Node'Parameter msg Source #
Instances
get_Node'Parameter'name :: ReadCtx m msg => Node'Parameter msg -> m (Text msg) Source #
has_Node'Parameter'name :: ReadCtx m msg => Node'Parameter msg -> m Bool Source #
set_Node'Parameter'name :: RWCtx m s => Node'Parameter (MutMsg s) -> Text (MutMsg s) -> m () Source #
new_Node'Parameter'name :: RWCtx m s => Int -> Node'Parameter (MutMsg s) -> m (Text (MutMsg s)) Source #
newtype Type'anyPointer msg Source #
Instances
data Type'anyPointer' msg Source #
Instances
FromStruct msg (Type'anyPointer' msg) Source # | |
Defined in Capnp.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer' msg) Source # |
get_Type'anyPointer' :: ReadCtx m msg => Type'anyPointer msg -> m (Type'anyPointer' msg) Source #
has_Type'anyPointer' :: ReadCtx m msg => Type'anyPointer msg -> m Bool Source #
set_Type'anyPointer'unconstrained :: RWCtx m s => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'unconstrained'group' (MutMsg s)) Source #
set_Type'anyPointer'parameter :: RWCtx m s => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'parameter'group' (MutMsg s)) Source #
set_Type'anyPointer'implicitMethodParameter :: RWCtx m s => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'implicitMethodParameter'group' (MutMsg s)) Source #
set_Type'anyPointer'unknown' :: RWCtx m s => Type'anyPointer (MutMsg s) -> Word16 -> m () Source #
newtype Type'anyPointer'unconstrained'group' msg Source #
Instances
get_Type'anyPointer'unconstrained'union' :: ReadCtx m msg => Type'anyPointer'unconstrained'group' msg -> m (Type'anyPointer'unconstrained msg) Source #
has_Type'anyPointer'unconstrained'union' :: ReadCtx m msg => Type'anyPointer'unconstrained'group' msg -> m Bool Source #
newtype Type'anyPointer'parameter'group' msg Source #
Instances
get_Type'anyPointer'parameter'scopeId :: ReadCtx m msg => Type'anyPointer'parameter'group' msg -> m Word64 Source #
has_Type'anyPointer'parameter'scopeId :: ReadCtx m msg => Type'anyPointer'parameter'group' msg -> m Bool Source #
set_Type'anyPointer'parameter'scopeId :: RWCtx m s => Type'anyPointer'parameter'group' (MutMsg s) -> Word64 -> m () Source #
get_Type'anyPointer'parameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'parameter'group' msg -> m Word16 Source #
has_Type'anyPointer'parameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'parameter'group' msg -> m Bool Source #
set_Type'anyPointer'parameter'parameterIndex :: RWCtx m s => Type'anyPointer'parameter'group' (MutMsg s) -> Word16 -> m () Source #
newtype Type'anyPointer'implicitMethodParameter'group' msg Source #
Instances
get_Type'anyPointer'implicitMethodParameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'implicitMethodParameter'group' msg -> m Word16 Source #
has_Type'anyPointer'implicitMethodParameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'implicitMethodParameter'group' msg -> m Bool Source #
set_Type'anyPointer'implicitMethodParameter'parameterIndex :: RWCtx m s => Type'anyPointer'implicitMethodParameter'group' (MutMsg s) -> Word16 -> m () Source #
newtype Type'anyPointer'unconstrained msg Source #
Instances
data Type'anyPointer'unconstrained' msg Source #
Type'anyPointer'unconstrained'anyKind | |
Type'anyPointer'unconstrained'struct | |
Type'anyPointer'unconstrained'list | |
Type'anyPointer'unconstrained'capability | |
Type'anyPointer'unconstrained'unknown' Word16 |
Instances
FromStruct msg (Type'anyPointer'unconstrained' msg) Source # | |
Defined in Capnp.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer'unconstrained' msg) Source # |
get_Type'anyPointer'unconstrained' :: ReadCtx m msg => Type'anyPointer'unconstrained msg -> m (Type'anyPointer'unconstrained' msg) Source #
has_Type'anyPointer'unconstrained' :: ReadCtx m msg => Type'anyPointer'unconstrained msg -> m Bool Source #
set_Type'anyPointer'unconstrained'anyKind :: RWCtx m s => Type'anyPointer'unconstrained (MutMsg s) -> m () Source #
set_Type'anyPointer'unconstrained'struct :: RWCtx m s => Type'anyPointer'unconstrained (MutMsg s) -> m () Source #
set_Type'anyPointer'unconstrained'list :: RWCtx m s => Type'anyPointer'unconstrained (MutMsg s) -> m () Source #
set_Type'anyPointer'unconstrained'capability :: RWCtx m s => Type'anyPointer'unconstrained (MutMsg s) -> m () Source #
set_Type'anyPointer'unconstrained'unknown' :: RWCtx m s => Type'anyPointer'unconstrained (MutMsg s) -> Word16 -> m () Source #