Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Node'newtype_ (Struct msg) |
Instances
ToStruct msg (Node msg) Source # | |
FromStruct msg (Node msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Node (MutMsg s)) Source # | |
FromPtr msg (Node msg) Source # | |
Allocate s (Node (MutMsg s)) Source # | |
MutListElem s (Node (MutMsg s)) Source # | |
ListElem msg (Node msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Node msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Node msg) Source # | |
newtype List msg (Node msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Node msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'displayName :: (ReadCtx m msg, FromPtr msg (Text msg)) => Node msg -> m (Text msg) Source #
set_Node'displayName :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Node (MutMsg s) -> Text (MutMsg s) -> m () Source #
get_Node'nestedNodes :: (ReadCtx m msg, FromPtr msg (List msg (Node'NestedNode msg))) => Node msg -> m (List msg (Node'NestedNode msg)) Source #
set_Node'nestedNodes :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node'NestedNode (MutMsg 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, FromPtr msg (List msg (Annotation msg))) => Node msg -> m (List msg (Annotation msg)) Source #
set_Node'annotations :: (RWCtx m s, ToPtr s (List (MutMsg s) (Annotation (MutMsg 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, FromPtr msg (List msg (Node'Parameter msg))) => Node msg -> m (List msg (Node'Parameter msg)) Source #
set_Node'parameters :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node'Parameter (MutMsg 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 #
Node'file | |
Node'struct (Node'struct msg) | |
Node'enum (Node'enum msg) | |
Node'interface (Node'interface msg) | |
Node'const (Node'const msg) | |
Node'annotation (Node'annotation msg) | |
Node'unknown' Word16 |
Instances
FromStruct msg (Node' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
set_Node'struct :: (RWCtx m s, FromStruct (MutMsg s) (Node'struct (MutMsg s))) => Node (MutMsg s) -> m (Node'struct (MutMsg s)) Source #
set_Node'enum :: (RWCtx m s, FromStruct (MutMsg s) (Node'enum (MutMsg s))) => Node (MutMsg s) -> m (Node'enum (MutMsg s)) Source #
set_Node'interface :: (RWCtx m s, FromStruct (MutMsg s) (Node'interface (MutMsg s))) => Node (MutMsg s) -> m (Node'interface (MutMsg s)) Source #
set_Node'const :: (RWCtx m s, FromStruct (MutMsg s) (Node'const (MutMsg s))) => Node (MutMsg s) -> m (Node'const (MutMsg s)) Source #
set_Node'annotation :: (RWCtx m s, FromStruct (MutMsg s) (Node'annotation (MutMsg s))) => Node (MutMsg s) -> m (Node'annotation (MutMsg s)) Source #
newtype Node'struct msg Source #
Node'struct'newtype_ (Struct msg) |
Instances
ToStruct msg (Node'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Node'struct msg -> Struct msg Source # | |
FromStruct msg (Node'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Node'struct msg) Source # | |
MessageDefault (Node'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Node'struct msg) -> Node'struct msg Source # | |
HasMessage (Node'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Node'struct msg) Source # message :: Node'struct msg -> InMessage (Node'struct msg) Source # | |
type InMessage (Node'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'struct'dataWordCount :: ReadCtx m msg => Node'struct msg -> m Word16 Source #
set_Node'struct'dataWordCount :: RWCtx m s => Node'struct (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'pointerCount :: ReadCtx m msg => Node'struct msg -> m Word16 Source #
set_Node'struct'pointerCount :: RWCtx m s => Node'struct (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'preferredListEncoding :: ReadCtx m msg => Node'struct msg -> m ElementSize Source #
set_Node'struct'preferredListEncoding :: RWCtx m s => Node'struct (MutMsg s) -> ElementSize -> m () Source #
get_Node'struct'isGroup :: ReadCtx m msg => Node'struct msg -> m Bool Source #
set_Node'struct'isGroup :: RWCtx m s => Node'struct (MutMsg s) -> Bool -> m () Source #
get_Node'struct'discriminantCount :: ReadCtx m msg => Node'struct msg -> m Word16 Source #
set_Node'struct'discriminantCount :: RWCtx m s => Node'struct (MutMsg s) -> Word16 -> m () Source #
get_Node'struct'discriminantOffset :: ReadCtx m msg => Node'struct msg -> m Word32 Source #
set_Node'struct'discriminantOffset :: RWCtx m s => Node'struct (MutMsg s) -> Word32 -> m () Source #
get_Node'struct'fields :: (ReadCtx m msg, FromPtr msg (List msg (Field msg))) => Node'struct msg -> m (List msg (Field msg)) Source #
set_Node'struct'fields :: (RWCtx m s, ToPtr s (List (MutMsg s) (Field (MutMsg s)))) => Node'struct (MutMsg s) -> List (MutMsg s) (Field (MutMsg s)) -> m () Source #
has_Node'struct'fields :: ReadCtx m msg => Node'struct msg -> m Bool Source #
new_Node'struct'fields :: RWCtx m s => Int -> Node'struct (MutMsg s) -> m (List (MutMsg s) (Field (MutMsg s))) Source #
newtype Node'enum msg Source #
Node'enum'newtype_ (Struct msg) |
Instances
ToStruct msg (Node'enum msg) Source # | |
FromStruct msg (Node'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Node'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Node'enum msg) Source # | |
type InMessage (Node'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'enum'enumerants :: (ReadCtx m msg, FromPtr msg (List msg (Enumerant msg))) => Node'enum msg -> m (List msg (Enumerant msg)) Source #
set_Node'enum'enumerants :: (RWCtx m s, ToPtr s (List (MutMsg s) (Enumerant (MutMsg s)))) => Node'enum (MutMsg s) -> List (MutMsg s) (Enumerant (MutMsg s)) -> m () Source #
new_Node'enum'enumerants :: RWCtx m s => Int -> Node'enum (MutMsg s) -> m (List (MutMsg s) (Enumerant (MutMsg s))) Source #
newtype Node'interface msg Source #
Instances
ToStruct msg (Node'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Node'interface msg -> Struct msg Source # | |
FromStruct msg (Node'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Node'interface msg) Source # | |
MessageDefault (Node'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Node'interface msg) -> Node'interface msg Source # | |
HasMessage (Node'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Node'interface msg) Source # message :: Node'interface msg -> InMessage (Node'interface msg) Source # | |
type InMessage (Node'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'interface'methods :: (ReadCtx m msg, FromPtr msg (List msg (Method msg))) => Node'interface msg -> m (List msg (Method msg)) Source #
set_Node'interface'methods :: (RWCtx m s, ToPtr s (List (MutMsg s) (Method (MutMsg s)))) => Node'interface (MutMsg s) -> List (MutMsg s) (Method (MutMsg s)) -> m () Source #
has_Node'interface'methods :: ReadCtx m msg => Node'interface msg -> m Bool Source #
new_Node'interface'methods :: RWCtx m s => Int -> Node'interface (MutMsg s) -> m (List (MutMsg s) (Method (MutMsg s))) Source #
get_Node'interface'superclasses :: (ReadCtx m msg, FromPtr msg (List msg (Superclass msg))) => Node'interface msg -> m (List msg (Superclass msg)) Source #
set_Node'interface'superclasses :: (RWCtx m s, ToPtr s (List (MutMsg s) (Superclass (MutMsg s)))) => Node'interface (MutMsg s) -> List (MutMsg s) (Superclass (MutMsg s)) -> m () Source #
has_Node'interface'superclasses :: ReadCtx m msg => Node'interface msg -> m Bool Source #
new_Node'interface'superclasses :: RWCtx m s => Int -> Node'interface (MutMsg s) -> m (List (MutMsg s) (Superclass (MutMsg s))) Source #
newtype Node'const msg Source #
Node'const'newtype_ (Struct msg) |
Instances
ToStruct msg (Node'const msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Node'const msg -> Struct msg Source # | |
FromStruct msg (Node'const msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Node'const msg) Source # | |
MessageDefault (Node'const msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Node'const msg) -> Node'const msg Source # | |
HasMessage (Node'const msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Node'const msg) Source # message :: Node'const msg -> InMessage (Node'const msg) Source # | |
type InMessage (Node'const msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'const'type_ :: (ReadCtx m msg, FromPtr msg (Type msg)) => Node'const msg -> m (Type msg) Source #
set_Node'const'type_ :: (RWCtx m s, ToPtr s (Type (MutMsg s))) => Node'const (MutMsg s) -> Type (MutMsg s) -> m () Source #
has_Node'const'type_ :: ReadCtx m msg => Node'const msg -> m Bool Source #
new_Node'const'type_ :: RWCtx m s => Node'const (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Node'const'value :: (ReadCtx m msg, FromPtr msg (Value msg)) => Node'const msg -> m (Value msg) Source #
set_Node'const'value :: (RWCtx m s, ToPtr s (Value (MutMsg s))) => Node'const (MutMsg s) -> Value (MutMsg s) -> m () Source #
has_Node'const'value :: ReadCtx m msg => Node'const msg -> m Bool Source #
new_Node'const'value :: RWCtx m s => Node'const (MutMsg s) -> m (Value (MutMsg s)) Source #
newtype Node'annotation msg Source #
Instances
ToStruct msg (Node'annotation msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Node'annotation msg -> Struct msg Source # | |
FromStruct msg (Node'annotation msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Node'annotation msg) Source # | |
MessageDefault (Node'annotation msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Node'annotation msg) -> Node'annotation msg Source # | |
HasMessage (Node'annotation msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Node'annotation msg) Source # message :: Node'annotation msg -> InMessage (Node'annotation msg) Source # | |
type InMessage (Node'annotation msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Node'annotation'type_ :: (ReadCtx m msg, FromPtr msg (Type msg)) => Node'annotation msg -> m (Type msg) Source #
set_Node'annotation'type_ :: (RWCtx m s, ToPtr s (Type (MutMsg s))) => Node'annotation (MutMsg s) -> Type (MutMsg s) -> m () Source #
has_Node'annotation'type_ :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
new_Node'annotation'type_ :: RWCtx m s => Node'annotation (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Node'annotation'targetsFile :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsFile :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsConst :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsConst :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsEnum :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsEnum :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsEnumerant :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsEnumerant :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsStruct :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsStruct :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsField :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsField :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsUnion :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsUnion :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsGroup :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsGroup :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsInterface :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsInterface :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsMethod :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsMethod :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsParam :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsParam :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
get_Node'annotation'targetsAnnotation :: ReadCtx m msg => Node'annotation msg -> m Bool Source #
set_Node'annotation'targetsAnnotation :: RWCtx m s => Node'annotation (MutMsg s) -> Bool -> m () Source #
newtype Node'Parameter msg Source #
Instances
get_Node'Parameter'name :: (ReadCtx m msg, FromPtr msg (Text msg)) => Node'Parameter msg -> m (Text msg) Source #
set_Node'Parameter'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Node'Parameter (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_Node'Parameter'name :: ReadCtx m msg => Node'Parameter msg -> m Bool Source #
new_Node'Parameter'name :: RWCtx m s => Int -> Node'Parameter (MutMsg s) -> m (Text (MutMsg s)) Source #
newtype Node'NestedNode msg Source #
Instances
get_Node'NestedNode'name :: (ReadCtx m msg, FromPtr msg (Text msg)) => Node'NestedNode msg -> m (Text msg) Source #
set_Node'NestedNode'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Node'NestedNode (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_Node'NestedNode'name :: ReadCtx m msg => Node'NestedNode msg -> m Bool 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 #
set_Node'NestedNode'id :: RWCtx m s => Node'NestedNode (MutMsg s) -> Word64 -> m () Source #
newtype Node'SourceInfo msg Source #
Instances
get_Node'SourceInfo'id :: ReadCtx m msg => Node'SourceInfo msg -> m Word64 Source #
set_Node'SourceInfo'id :: RWCtx m s => Node'SourceInfo (MutMsg s) -> Word64 -> m () Source #
get_Node'SourceInfo'docComment :: (ReadCtx m msg, FromPtr msg (Text msg)) => Node'SourceInfo msg -> m (Text msg) Source #
set_Node'SourceInfo'docComment :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Node'SourceInfo (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_Node'SourceInfo'docComment :: ReadCtx m msg => Node'SourceInfo msg -> m Bool Source #
new_Node'SourceInfo'docComment :: RWCtx m s => Int -> Node'SourceInfo (MutMsg s) -> m (Text (MutMsg s)) Source #
get_Node'SourceInfo'members :: (ReadCtx m msg, FromPtr msg (List msg (Node'SourceInfo'Member msg))) => Node'SourceInfo msg -> m (List msg (Node'SourceInfo'Member msg)) Source #
set_Node'SourceInfo'members :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node'SourceInfo'Member (MutMsg s)))) => Node'SourceInfo (MutMsg s) -> List (MutMsg s) (Node'SourceInfo'Member (MutMsg s)) -> m () Source #
has_Node'SourceInfo'members :: ReadCtx m msg => Node'SourceInfo msg -> m Bool Source #
new_Node'SourceInfo'members :: RWCtx m s => Int -> Node'SourceInfo (MutMsg s) -> m (List (MutMsg s) (Node'SourceInfo'Member (MutMsg s))) Source #
newtype Node'SourceInfo'Member msg Source #
Instances
get_Node'SourceInfo'Member'docComment :: (ReadCtx m msg, FromPtr msg (Text msg)) => Node'SourceInfo'Member msg -> m (Text msg) Source #
set_Node'SourceInfo'Member'docComment :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Node'SourceInfo'Member (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_Node'SourceInfo'Member'docComment :: ReadCtx m msg => Node'SourceInfo'Member msg -> m Bool Source #
new_Node'SourceInfo'Member'docComment :: RWCtx m s => Int -> Node'SourceInfo'Member (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.Gen.Capnp.Schema | |
ToPtr s (Field (MutMsg s)) Source # | |
FromPtr msg (Field msg) Source # | |
Allocate s (Field (MutMsg s)) Source # | |
MutListElem s (Field (MutMsg s)) Source # | |
ListElem msg (Field msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Field msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Field msg) Source # | |
newtype List msg (Field msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Field msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
set_Field'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Field (MutMsg s) -> Text (MutMsg s) -> m () Source #
get_Field'annotations :: (ReadCtx m msg, FromPtr msg (List msg (Annotation msg))) => Field msg -> m (List msg (Annotation msg)) Source #
set_Field'annotations :: (RWCtx m s, ToPtr s (List (MutMsg s) (Annotation (MutMsg 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, FromStruct msg (Field'ordinal msg)) => Field msg -> m (Field'ordinal msg) Source #
Field'slot (Field'slot msg) | |
Field'group (Field'group msg) | |
Field'unknown' Word16 |
Instances
FromStruct msg (Field' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Field' :: (ReadCtx m msg, FromStruct msg (Field' msg)) => Field msg -> m (Field' msg) Source #
set_Field'slot :: (RWCtx m s, FromStruct (MutMsg s) (Field'slot (MutMsg s))) => Field (MutMsg s) -> m (Field'slot (MutMsg s)) Source #
set_Field'group :: (RWCtx m s, FromStruct (MutMsg s) (Field'group (MutMsg s))) => Field (MutMsg s) -> m (Field'group (MutMsg s)) Source #
newtype Field'slot msg Source #
Field'slot'newtype_ (Struct msg) |
Instances
ToStruct msg (Field'slot msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Field'slot msg -> Struct msg Source # | |
FromStruct msg (Field'slot msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Field'slot msg) Source # | |
MessageDefault (Field'slot msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Field'slot msg) -> Field'slot msg Source # | |
HasMessage (Field'slot msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Field'slot msg) Source # message :: Field'slot msg -> InMessage (Field'slot msg) Source # | |
type InMessage (Field'slot msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Field'slot'offset :: ReadCtx m msg => Field'slot msg -> m Word32 Source #
set_Field'slot'offset :: RWCtx m s => Field'slot (MutMsg s) -> Word32 -> m () Source #
get_Field'slot'type_ :: (ReadCtx m msg, FromPtr msg (Type msg)) => Field'slot msg -> m (Type msg) Source #
set_Field'slot'type_ :: (RWCtx m s, ToPtr s (Type (MutMsg s))) => Field'slot (MutMsg s) -> Type (MutMsg s) -> m () Source #
has_Field'slot'type_ :: ReadCtx m msg => Field'slot msg -> m Bool Source #
new_Field'slot'type_ :: RWCtx m s => Field'slot (MutMsg s) -> m (Type (MutMsg s)) Source #
get_Field'slot'defaultValue :: (ReadCtx m msg, FromPtr msg (Value msg)) => Field'slot msg -> m (Value msg) Source #
set_Field'slot'defaultValue :: (RWCtx m s, ToPtr s (Value (MutMsg s))) => Field'slot (MutMsg s) -> Value (MutMsg s) -> m () Source #
has_Field'slot'defaultValue :: ReadCtx m msg => Field'slot msg -> m Bool Source #
new_Field'slot'defaultValue :: RWCtx m s => Field'slot (MutMsg s) -> m (Value (MutMsg s)) Source #
get_Field'slot'hadExplicitDefault :: ReadCtx m msg => Field'slot msg -> m Bool Source #
set_Field'slot'hadExplicitDefault :: RWCtx m s => Field'slot (MutMsg s) -> Bool -> m () Source #
newtype Field'group msg Source #
Field'group'newtype_ (Struct msg) |
Instances
ToStruct msg (Field'group msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Field'group msg -> Struct msg Source # | |
FromStruct msg (Field'group msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Field'group msg) Source # | |
MessageDefault (Field'group msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Field'group msg) -> Field'group msg Source # | |
HasMessage (Field'group msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Field'group msg) Source # message :: Field'group msg -> InMessage (Field'group msg) Source # | |
type InMessage (Field'group msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Field'group'typeId :: ReadCtx m msg => Field'group msg -> m Word64 Source #
set_Field'group'typeId :: RWCtx m s => Field'group (MutMsg s) -> Word64 -> m () Source #
newtype Field'ordinal msg Source #
Field'ordinal'newtype_ (Struct msg) |
Instances
ToStruct msg (Field'ordinal msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Field'ordinal msg -> Struct msg Source # | |
FromStruct msg (Field'ordinal msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Field'ordinal msg) Source # | |
MessageDefault (Field'ordinal msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Field'ordinal msg) -> Field'ordinal msg Source # | |
HasMessage (Field'ordinal msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Field'ordinal msg) Source # message :: Field'ordinal msg -> InMessage (Field'ordinal msg) Source # | |
type InMessage (Field'ordinal msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
data Field'ordinal' msg Source #
Instances
FromStruct msg (Field'ordinal' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Field'ordinal' msg) Source # |
get_Field'ordinal' :: (ReadCtx m msg, FromStruct msg (Field'ordinal' msg)) => Field'ordinal msg -> m (Field'ordinal' msg) 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 #
newtype Enumerant msg Source #
Enumerant'newtype_ (Struct msg) |
Instances
ToStruct msg (Enumerant msg) Source # | |
FromStruct msg (Enumerant msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Enumerant (MutMsg s)) Source # | |
FromPtr msg (Enumerant msg) Source # | |
Allocate s (Enumerant (MutMsg s)) Source # | |
MutListElem s (Enumerant (MutMsg s)) Source # | |
ListElem msg (Enumerant msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Enumerant msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Enumerant msg) Source # | |
newtype List msg (Enumerant msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Enumerant msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Enumerant'name :: (ReadCtx m msg, FromPtr msg (Text msg)) => Enumerant msg -> m (Text msg) Source #
set_Enumerant'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Enumerant (MutMsg s) -> Text (MutMsg s) -> m () Source #
get_Enumerant'annotations :: (ReadCtx m msg, FromPtr msg (List msg (Annotation msg))) => Enumerant msg -> m (List msg (Annotation msg)) Source #
set_Enumerant'annotations :: (RWCtx m s, ToPtr s (List (MutMsg s) (Annotation (MutMsg 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 #
newtype Superclass msg Source #
Superclass'newtype_ (Struct msg) |
Instances
get_Superclass'id :: ReadCtx m msg => Superclass msg -> m Word64 Source #
set_Superclass'id :: RWCtx m s => Superclass (MutMsg s) -> Word64 -> m () Source #
get_Superclass'brand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Superclass msg -> m (Brand msg) Source #
set_Superclass'brand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Superclass (MutMsg s) -> Brand (MutMsg s) -> m () Source #
has_Superclass'brand :: ReadCtx m msg => Superclass msg -> m Bool Source #
new_Superclass'brand :: RWCtx m s => Superclass (MutMsg s) -> m (Brand (MutMsg s)) Source #
Method'newtype_ (Struct msg) |
Instances
ToStruct msg (Method msg) Source # | |
FromStruct msg (Method msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Method (MutMsg s)) Source # | |
FromPtr msg (Method msg) Source # | |
Allocate s (Method (MutMsg s)) Source # | |
MutListElem s (Method (MutMsg s)) Source # | |
ListElem msg (Method msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Method msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Method msg) Source # | |
newtype List msg (Method msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Method msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
set_Method'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Method (MutMsg s) -> Text (MutMsg s) -> m () Source #
get_Method'annotations :: (ReadCtx m msg, FromPtr msg (List msg (Annotation msg))) => Method msg -> m (List msg (Annotation msg)) Source #
set_Method'annotations :: (RWCtx m s, ToPtr s (List (MutMsg s) (Annotation (MutMsg 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'paramBrand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Method msg -> m (Brand msg) Source #
set_Method'paramBrand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Method (MutMsg s) -> Brand (MutMsg s) -> m () Source #
get_Method'resultBrand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Method msg -> m (Brand msg) Source #
set_Method'resultBrand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Method (MutMsg s) -> Brand (MutMsg s) -> m () Source #
get_Method'implicitParameters :: (ReadCtx m msg, FromPtr msg (List msg (Node'Parameter msg))) => Method msg -> m (List msg (Node'Parameter msg)) Source #
set_Method'implicitParameters :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node'Parameter (MutMsg 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 #
Type'newtype_ (Struct msg) |
Instances
ToStruct msg (Type msg) Source # | |
FromStruct msg (Type msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Type (MutMsg s)) Source # | |
FromPtr msg (Type msg) Source # | |
Allocate s (Type (MutMsg s)) Source # | |
MutListElem s (Type (MutMsg s)) Source # | |
ListElem msg (Type msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Type msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Type msg) Source # | |
newtype List msg (Type msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Type msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
Instances
FromStruct msg (Type' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
set_Type'list :: (RWCtx m s, FromStruct (MutMsg s) (Type'list (MutMsg s))) => Type (MutMsg s) -> m (Type'list (MutMsg s)) Source #
set_Type'enum :: (RWCtx m s, FromStruct (MutMsg s) (Type'enum (MutMsg s))) => Type (MutMsg s) -> m (Type'enum (MutMsg s)) Source #
set_Type'struct :: (RWCtx m s, FromStruct (MutMsg s) (Type'struct (MutMsg s))) => Type (MutMsg s) -> m (Type'struct (MutMsg s)) Source #
set_Type'interface :: (RWCtx m s, FromStruct (MutMsg s) (Type'interface (MutMsg s))) => Type (MutMsg s) -> m (Type'interface (MutMsg s)) Source #
set_Type'anyPointer :: (RWCtx m s, FromStruct (MutMsg s) (Type'anyPointer (MutMsg s))) => Type (MutMsg s) -> m (Type'anyPointer (MutMsg s)) Source #
newtype Type'list msg Source #
Type'list'newtype_ (Struct msg) |
Instances
ToStruct msg (Type'list msg) Source # | |
FromStruct msg (Type'list msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Type'list msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Type'list msg) Source # | |
type InMessage (Type'list msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'list'elementType :: (ReadCtx m msg, FromPtr msg (Type msg)) => Type'list msg -> m (Type msg) Source #
set_Type'list'elementType :: (RWCtx m s, ToPtr s (Type (MutMsg s))) => Type'list (MutMsg s) -> Type (MutMsg s) -> m () Source #
newtype Type'enum msg Source #
Type'enum'newtype_ (Struct msg) |
Instances
ToStruct msg (Type'enum msg) Source # | |
FromStruct msg (Type'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Type'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Type'enum msg) Source # | |
type InMessage (Type'enum msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'enum'brand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Type'enum msg -> m (Brand msg) Source #
set_Type'enum'brand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Type'enum (MutMsg s) -> Brand (MutMsg s) -> m () Source #
newtype Type'struct msg Source #
Type'struct'newtype_ (Struct msg) |
Instances
ToStruct msg (Type'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'struct msg -> Struct msg Source # | |
FromStruct msg (Type'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'struct msg) Source # | |
MessageDefault (Type'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Type'struct msg) -> Type'struct msg Source # | |
HasMessage (Type'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'struct msg) Source # message :: Type'struct msg -> InMessage (Type'struct msg) Source # | |
type InMessage (Type'struct msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'struct'typeId :: ReadCtx m msg => Type'struct msg -> m Word64 Source #
set_Type'struct'typeId :: RWCtx m s => Type'struct (MutMsg s) -> Word64 -> m () Source #
get_Type'struct'brand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Type'struct msg -> m (Brand msg) Source #
set_Type'struct'brand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Type'struct (MutMsg s) -> Brand (MutMsg s) -> m () Source #
has_Type'struct'brand :: ReadCtx m msg => Type'struct msg -> m Bool Source #
new_Type'struct'brand :: RWCtx m s => Type'struct (MutMsg s) -> m (Brand (MutMsg s)) Source #
newtype Type'interface msg Source #
Instances
ToStruct msg (Type'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'interface msg -> Struct msg Source # | |
FromStruct msg (Type'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'interface msg) Source # | |
MessageDefault (Type'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Type'interface msg) -> Type'interface msg Source # | |
HasMessage (Type'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'interface msg) Source # message :: Type'interface msg -> InMessage (Type'interface msg) Source # | |
type InMessage (Type'interface msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'interface'typeId :: ReadCtx m msg => Type'interface msg -> m Word64 Source #
set_Type'interface'typeId :: RWCtx m s => Type'interface (MutMsg s) -> Word64 -> m () Source #
get_Type'interface'brand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Type'interface msg -> m (Brand msg) Source #
set_Type'interface'brand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Type'interface (MutMsg s) -> Brand (MutMsg s) -> m () Source #
has_Type'interface'brand :: ReadCtx m msg => Type'interface msg -> m Bool Source #
new_Type'interface'brand :: RWCtx m s => Type'interface (MutMsg s) -> m (Brand (MutMsg s)) Source #
newtype Type'anyPointer msg Source #
Instances
ToStruct msg (Type'anyPointer msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'anyPointer msg -> Struct msg Source # | |
FromStruct msg (Type'anyPointer msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer msg) Source # | |
MessageDefault (Type'anyPointer msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Type'anyPointer msg) -> Type'anyPointer msg Source # | |
HasMessage (Type'anyPointer msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'anyPointer msg) Source # message :: Type'anyPointer msg -> InMessage (Type'anyPointer msg) Source # | |
type InMessage (Type'anyPointer msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
data Type'anyPointer' msg Source #
Instances
FromStruct msg (Type'anyPointer' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer' msg) Source # |
get_Type'anyPointer' :: (ReadCtx m msg, FromStruct msg (Type'anyPointer' msg)) => Type'anyPointer msg -> m (Type'anyPointer' msg) Source #
set_Type'anyPointer'unconstrained :: (RWCtx m s, FromStruct (MutMsg s) (Type'anyPointer'unconstrained (MutMsg s))) => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'unconstrained (MutMsg s)) Source #
set_Type'anyPointer'parameter :: (RWCtx m s, FromStruct (MutMsg s) (Type'anyPointer'parameter (MutMsg s))) => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'parameter (MutMsg s)) Source #
set_Type'anyPointer'implicitMethodParameter :: (RWCtx m s, FromStruct (MutMsg s) (Type'anyPointer'implicitMethodParameter (MutMsg s))) => Type'anyPointer (MutMsg s) -> m (Type'anyPointer'implicitMethodParameter (MutMsg s)) Source #
set_Type'anyPointer'unknown' :: RWCtx m s => Type'anyPointer (MutMsg s) -> Word16 -> m () Source #
newtype Type'anyPointer'unconstrained msg Source #
Instances
ToStruct msg (Type'anyPointer'unconstrained msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'anyPointer'unconstrained msg -> Struct msg Source # | |
FromStruct msg (Type'anyPointer'unconstrained msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer'unconstrained msg) Source # | |
MessageDefault (Type'anyPointer'unconstrained msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Type'anyPointer'unconstrained msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'anyPointer'unconstrained msg) Source # message :: Type'anyPointer'unconstrained msg -> InMessage (Type'anyPointer'unconstrained msg) Source # | |
type InMessage (Type'anyPointer'unconstrained msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
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.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer'unconstrained' msg) Source # |
get_Type'anyPointer'unconstrained' :: (ReadCtx m msg, FromStruct msg (Type'anyPointer'unconstrained' msg)) => Type'anyPointer'unconstrained msg -> m (Type'anyPointer'unconstrained' msg) 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 #
newtype Type'anyPointer'parameter msg Source #
Instances
ToStruct msg (Type'anyPointer'parameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'anyPointer'parameter msg -> Struct msg Source # | |
FromStruct msg (Type'anyPointer'parameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer'parameter msg) Source # | |
MessageDefault (Type'anyPointer'parameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema messageDefault :: InMessage (Type'anyPointer'parameter msg) -> Type'anyPointer'parameter msg Source # | |
HasMessage (Type'anyPointer'parameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'anyPointer'parameter msg) Source # message :: Type'anyPointer'parameter msg -> InMessage (Type'anyPointer'parameter msg) Source # | |
type InMessage (Type'anyPointer'parameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'anyPointer'parameter'scopeId :: ReadCtx m msg => Type'anyPointer'parameter msg -> m Word64 Source #
set_Type'anyPointer'parameter'scopeId :: RWCtx m s => Type'anyPointer'parameter (MutMsg s) -> Word64 -> m () Source #
get_Type'anyPointer'parameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'parameter msg -> m Word16 Source #
set_Type'anyPointer'parameter'parameterIndex :: RWCtx m s => Type'anyPointer'parameter (MutMsg s) -> Word16 -> m () Source #
newtype Type'anyPointer'implicitMethodParameter msg Source #
Instances
ToStruct msg (Type'anyPointer'implicitMethodParameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema toStruct :: Type'anyPointer'implicitMethodParameter msg -> Struct msg Source # | |
FromStruct msg (Type'anyPointer'implicitMethodParameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Type'anyPointer'implicitMethodParameter msg) Source # | |
MessageDefault (Type'anyPointer'implicitMethodParameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Type'anyPointer'implicitMethodParameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema type InMessage (Type'anyPointer'implicitMethodParameter msg) Source # | |
type InMessage (Type'anyPointer'implicitMethodParameter msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Type'anyPointer'implicitMethodParameter'parameterIndex :: ReadCtx m msg => Type'anyPointer'implicitMethodParameter msg -> m Word16 Source #
set_Type'anyPointer'implicitMethodParameter'parameterIndex :: RWCtx m s => Type'anyPointer'implicitMethodParameter (MutMsg s) -> Word16 -> m () Source #
Brand'newtype_ (Struct msg) |
Instances
ToStruct msg (Brand msg) Source # | |
FromStruct msg (Brand msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Brand (MutMsg s)) Source # | |
FromPtr msg (Brand msg) Source # | |
Allocate s (Brand (MutMsg s)) Source # | |
MutListElem s (Brand (MutMsg s)) Source # | |
ListElem msg (Brand msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Brand msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Brand msg) Source # | |
newtype List msg (Brand msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Brand msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Brand'scopes :: (ReadCtx m msg, FromPtr msg (List msg (Brand'Scope msg))) => Brand msg -> m (List msg (Brand'Scope msg)) Source #
set_Brand'scopes :: (RWCtx m s, ToPtr s (List (MutMsg s) (Brand'Scope (MutMsg 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 Brand'Scope msg Source #
Brand'Scope'newtype_ (Struct msg) |
Instances
get_Brand'Scope'scopeId :: ReadCtx m msg => Brand'Scope msg -> m Word64 Source #
set_Brand'Scope'scopeId :: RWCtx m s => Brand'Scope (MutMsg s) -> Word64 -> m () Source #
data Brand'Scope' msg Source #
Instances
FromStruct msg (Brand'Scope' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Brand'Scope' msg) Source # |
get_Brand'Scope' :: (ReadCtx m msg, FromStruct msg (Brand'Scope' msg)) => Brand'Scope msg -> m (Brand'Scope' msg) Source #
set_Brand'Scope'bind :: (RWCtx m s, ToPtr s (List (MutMsg s) (Brand'Binding (MutMsg s)))) => Brand'Scope (MutMsg s) -> List (MutMsg s) (Brand'Binding (MutMsg s)) -> m () 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 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.Gen.Capnp.Schema fromStruct :: ReadCtx m msg => Struct msg -> m (Brand'Binding' msg) Source # |
get_Brand'Binding' :: (ReadCtx m msg, FromStruct msg (Brand'Binding' msg)) => Brand'Binding msg -> m (Brand'Binding' msg) Source #
set_Brand'Binding'unbound :: RWCtx m s => Brand'Binding (MutMsg s) -> m () Source #
set_Brand'Binding'type_ :: (RWCtx m s, ToPtr s (Type (MutMsg s))) => Brand'Binding (MutMsg s) -> Type (MutMsg s) -> m () Source #
set_Brand'Binding'unknown' :: RWCtx m s => Brand'Binding (MutMsg s) -> Word16 -> m () Source #
Value'newtype_ (Struct msg) |
Instances
ToStruct msg (Value msg) Source # | |
FromStruct msg (Value msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
ToPtr s (Value (MutMsg s)) Source # | |
FromPtr msg (Value msg) Source # | |
Allocate s (Value (MutMsg s)) Source # | |
MutListElem s (Value (MutMsg s)) Source # | |
ListElem msg (Value msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
MessageDefault (Value msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
HasMessage (Value msg) Source # | |
newtype List msg (Value msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema | |
type InMessage (Value msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
Instances
FromStruct msg (Value' msg) Source # | |
Defined in Capnp.Gen.Capnp.Schema |
get_Value' :: (ReadCtx m msg, FromStruct msg (Value' msg)) => Value msg -> m (Value' msg) Source #
set_Value'text :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => Value (MutMsg s) -> Text (MutMsg s) -> m () Source #
set_Value'data_ :: (RWCtx m s, ToPtr s (Data (MutMsg s))) => Value (MutMsg s) -> Data (MutMsg s) -> m () Source #
set_Value'list :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Value (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Value'struct :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Value (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Value'anyPointer :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Value (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
newtype Annotation msg Source #
Annotation'newtype_ (Struct msg) |
Instances
get_Annotation'id :: ReadCtx m msg => Annotation msg -> m Word64 Source #
set_Annotation'id :: RWCtx m s => Annotation (MutMsg s) -> Word64 -> m () Source #
get_Annotation'value :: (ReadCtx m msg, FromPtr msg (Value msg)) => Annotation msg -> m (Value msg) Source #
set_Annotation'value :: (RWCtx m s, ToPtr s (Value (MutMsg s))) => Annotation (MutMsg s) -> Value (MutMsg s) -> m () Source #
has_Annotation'value :: ReadCtx m msg => Annotation msg -> m Bool Source #
new_Annotation'value :: RWCtx m s => Annotation (MutMsg s) -> m (Value (MutMsg s)) Source #
get_Annotation'brand :: (ReadCtx m msg, FromPtr msg (Brand msg)) => Annotation msg -> m (Brand msg) Source #
set_Annotation'brand :: (RWCtx m s, ToPtr s (Brand (MutMsg s))) => Annotation (MutMsg s) -> Brand (MutMsg s) -> m () Source #
has_Annotation'brand :: ReadCtx m msg => Annotation msg -> m Bool Source #
new_Annotation'brand :: RWCtx m s => Annotation (MutMsg s) -> m (Brand (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 CapnpVersion msg Source #
CapnpVersion'newtype_ (Struct msg) |
Instances
get_CapnpVersion'major :: ReadCtx m msg => CapnpVersion msg -> m Word16 Source #
set_CapnpVersion'major :: RWCtx m s => CapnpVersion (MutMsg s) -> Word16 -> m () Source #
get_CapnpVersion'minor :: ReadCtx m msg => CapnpVersion msg -> m Word8 Source #
set_CapnpVersion'minor :: RWCtx m s => CapnpVersion (MutMsg s) -> Word8 -> m () Source #
get_CapnpVersion'micro :: ReadCtx m msg => CapnpVersion msg -> m Word8 Source #
set_CapnpVersion'micro :: RWCtx m s => CapnpVersion (MutMsg s) -> Word8 -> m () Source #
newtype CodeGeneratorRequest msg Source #
Instances
get_CodeGeneratorRequest'nodes :: (ReadCtx m msg, FromPtr msg (List msg (Node msg))) => CodeGeneratorRequest msg -> m (List msg (Node msg)) Source #
set_CodeGeneratorRequest'nodes :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node (MutMsg s)))) => CodeGeneratorRequest (MutMsg s) -> List (MutMsg s) (Node (MutMsg s)) -> m () Source #
has_CodeGeneratorRequest'nodes :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool 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, FromPtr msg (List msg (CodeGeneratorRequest'RequestedFile msg))) => CodeGeneratorRequest msg -> m (List msg (CodeGeneratorRequest'RequestedFile msg)) Source #
set_CodeGeneratorRequest'requestedFiles :: (RWCtx m s, ToPtr s (List (MutMsg s) (CodeGeneratorRequest'RequestedFile (MutMsg s)))) => CodeGeneratorRequest (MutMsg s) -> List (MutMsg s) (CodeGeneratorRequest'RequestedFile (MutMsg s)) -> m () Source #
has_CodeGeneratorRequest'requestedFiles :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool 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, FromPtr msg (CapnpVersion msg)) => CodeGeneratorRequest msg -> m (CapnpVersion msg) Source #
set_CodeGeneratorRequest'capnpVersion :: (RWCtx m s, ToPtr s (CapnpVersion (MutMsg s))) => CodeGeneratorRequest (MutMsg s) -> CapnpVersion (MutMsg s) -> m () Source #
has_CodeGeneratorRequest'capnpVersion :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool Source #
new_CodeGeneratorRequest'capnpVersion :: RWCtx m s => CodeGeneratorRequest (MutMsg s) -> m (CapnpVersion (MutMsg s)) Source #
get_CodeGeneratorRequest'sourceInfo :: (ReadCtx m msg, FromPtr msg (List msg (Node'SourceInfo msg))) => CodeGeneratorRequest msg -> m (List msg (Node'SourceInfo msg)) Source #
set_CodeGeneratorRequest'sourceInfo :: (RWCtx m s, ToPtr s (List (MutMsg s) (Node'SourceInfo (MutMsg s)))) => CodeGeneratorRequest (MutMsg s) -> List (MutMsg s) (Node'SourceInfo (MutMsg s)) -> m () Source #
has_CodeGeneratorRequest'sourceInfo :: ReadCtx m msg => CodeGeneratorRequest msg -> m Bool Source #
new_CodeGeneratorRequest'sourceInfo :: RWCtx m s => Int -> CodeGeneratorRequest (MutMsg s) -> m (List (MutMsg s) (Node'SourceInfo (MutMsg s))) Source #
newtype CodeGeneratorRequest'RequestedFile msg Source #
Instances
get_CodeGeneratorRequest'RequestedFile'id :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Word64 Source #
set_CodeGeneratorRequest'RequestedFile'id :: RWCtx m s => CodeGeneratorRequest'RequestedFile (MutMsg s) -> Word64 -> m () Source #
get_CodeGeneratorRequest'RequestedFile'filename :: (ReadCtx m msg, FromPtr msg (Text msg)) => CodeGeneratorRequest'RequestedFile msg -> m (Text msg) Source #
set_CodeGeneratorRequest'RequestedFile'filename :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => CodeGeneratorRequest'RequestedFile (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_CodeGeneratorRequest'RequestedFile'filename :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Bool 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, FromPtr msg (List msg (CodeGeneratorRequest'RequestedFile'Import msg))) => CodeGeneratorRequest'RequestedFile msg -> m (List msg (CodeGeneratorRequest'RequestedFile'Import msg)) Source #
set_CodeGeneratorRequest'RequestedFile'imports :: (RWCtx m s, ToPtr s (List (MutMsg s) (CodeGeneratorRequest'RequestedFile'Import (MutMsg s)))) => CodeGeneratorRequest'RequestedFile (MutMsg s) -> List (MutMsg s) (CodeGeneratorRequest'RequestedFile'Import (MutMsg s)) -> m () Source #
has_CodeGeneratorRequest'RequestedFile'imports :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile msg -> m Bool 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 #
set_CodeGeneratorRequest'RequestedFile'Import'id :: RWCtx m s => CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> Word64 -> m () Source #
get_CodeGeneratorRequest'RequestedFile'Import'name :: (ReadCtx m msg, FromPtr msg (Text msg)) => CodeGeneratorRequest'RequestedFile'Import msg -> m (Text msg) Source #
set_CodeGeneratorRequest'RequestedFile'Import'name :: (RWCtx m s, ToPtr s (Text (MutMsg s))) => CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> Text (MutMsg s) -> m () Source #
has_CodeGeneratorRequest'RequestedFile'Import'name :: ReadCtx m msg => CodeGeneratorRequest'RequestedFile'Import msg -> m Bool Source #
new_CodeGeneratorRequest'RequestedFile'Import'name :: RWCtx m s => Int -> CodeGeneratorRequest'RequestedFile'Import (MutMsg s) -> m (Text (MutMsg s)) Source #